1 type: object
2 description: The step's definition details.
3 x-schemaName: WorkflowExecutionDefinition
4 properties:
5 async:
6 type: boolean
7 title: async
8 description: Whether the step is async.
9 compensateAsync:
10 type: boolean
11 title: compensateAsync
12 description: Whether the compensation function of the step is async.
13 noCompensation:
14 type: boolean
15 title: noCompensation
16 description: Whether the step doesn't have a compensation function.
17 continueOnPermanentFailure:
18 type: boolean
19 title: continueOnPermanentFailure
20 description: >-
21 Whether the workflow should continue executing even if its status is
22 changed to failed.
23 skipOnPermanentFailure:
24 oneOf:
25 - type: string
26 title: skipOnPermanentFailure
27 description: The ID of the step to skip to in case of a permanent failure.
28 - type: boolean
29 title: skipOnPermanentFailure
30 description: >-
31 Whether the workflow should skip subsequent steps in case of a
32 permanent failure.
33 maxRetries:
34 type: number
35 title: maxRetries
36 description: The maximum number of times to retry the step.
37 noWait:
38 type: boolean
39 title: noWait
40 description: >-
41 Whether the workflow shouldn't wait for the step to finish before moving
42 to the next step.
43 default: false
44 retryInterval:
45 type: number
46 title: retryInterval
47 description: The interval in seconds between retry attempts when the step fails.
48 retryIntervalAwaiting:
49 type: number
50 title: retryIntervalAwaiting
51 description: >-
52 The interval in seconds to retry a step even if its status is
53 `waiting_response`.
54 saveResponse:
55 type: boolean
56 title: saveResponse
57 description: Whether the step's response is stored.
58 timeout:
59 type: number
60 title: timeout
61 description: >-
62 The maximum time in seconds to wait for this step to complete. If the step
63 exceeds this time, the step's state is changed to `timeout`, but the step
64 continues executing.
65 autoRetry:
66 type: boolean
67 title: autoRetry
68 description: Whether the step should be automatically retried if it fails.
69 maxAwaitingRetries:
70 type: number
71 title: maxAwaitingRetries
72 description: >-
73 The maximum number of times to retry the step while it's in the
74 `waiting_response` state.