Type Alias Action

type Action = {
    condition?: string;
    functionRef?: tasks.Functionref;
    name?: string;
    nonRetryableErrors?: string[];
    retryableErrors?: string[];
    retryRef?: string;
}
Index
condition?: string

An expression that must evaluate to true for this action to be performed. When false, the action is skipped.

functionRef?: tasks.Functionref

A reference to a function to invoke, either as a name string or a structured object.

name?: string

A unique name for this action within the workflow.

nonRetryableErrors?: string[]

Workflow error references for which this action must not be retried. Used only when autoRetries is true.

retryableErrors?: string[]

Workflow error references for which this action must be retried. Used only when autoRetries is false.

retryRef?: string

A reference to a defined workflow retry policy. If absent, the default retry policy applies.