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