Type Alias Action

Action: {
    condition?: string;
    functionRef?: Functionref;
    name?: string;
    nonRetryableErrors?: string[];
    retryableErrors?: string[];
    retryRef?: string;
} & unknown

Type declaration

  • Optionalcondition?: string

    Expression, if defined, must evaluate to true for this action to be performed. If false, action is disregarded

  • OptionalfunctionRef?: Functionref
  • Optionalname?: string

    Unique action definition name

  • OptionalnonRetryableErrors?: string[]

    List of unique references to defined workflow errors for which the action should not be retried. Used only when autoRetries is set to true

  • OptionalretryableErrors?: string[]

    List of unique references to defined workflow errors for which the action should be retried. Used only when autoRetries is set to false

  • OptionalretryRef?: string

    References a defined workflow retry definition. If not defined the default retry policy is assumed