You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: schema/workflow.yaml
+46-43Lines changed: 46 additions & 43 deletions
Original file line number
Diff line number
Diff line change
@@ -76,14 +76,7 @@ properties:
76
76
description: The workflow's secrets.
77
77
description: Defines the workflow's reusable components.
78
78
do:
79
-
type: array
80
-
minItems: 1
81
-
items:
82
-
type: object
83
-
minProperties: 1
84
-
maxProperties: 1
85
-
additionalProperties:
86
-
$ref: '#/$defs/task'
79
+
$ref: '#/$defs/task'
87
80
description: Defines the tasks the workflow must perform
88
81
timeout:
89
82
$ref: '#/$defs/timeout'
@@ -125,7 +118,9 @@ $defs:
125
118
description: The flow directive to be performed upon completion of the task.
126
119
oneOf:
127
120
- $ref: '#/$defs/callTask'
128
-
- $ref: '#/$defs/compositeTask'
121
+
- $ref: '#/$defs/sequentialTask'
122
+
- $ref: '#/$defs/concurrentTask'
123
+
- $ref: '#/$defs/competingTask'
129
124
- $ref: '#/$defs/emitTask'
130
125
- $ref: '#/$defs/forTask'
131
126
- $ref: '#/$defs/listenTask'
@@ -280,42 +275,50 @@ $defs:
280
275
additionalProperties: true
281
276
description: A name/value mapping of the parameters, if any, to call the function with.
282
277
required: [ call ]
283
-
compositeTask:
278
+
sequentialTask:
284
279
type: object
285
280
properties:
286
-
execute:
287
-
type: object
288
-
oneOf:
289
-
- properties:
290
-
concurrently:
291
-
type: array
292
-
minItems: 2
293
-
items:
294
-
type: object
295
-
minProperties: 1
296
-
maxProperties: 1
297
-
additionalProperties:
298
-
$ref: '#/$defs/task'
299
-
description: A list of the tasks to perform concurrently.
300
-
compete:
301
-
type: boolean
302
-
description: Indicates whether or not the concurrent tasks are racing against each other, with a single possible winner, which sets the composite task's output.
303
-
required: [ concurrently ]
304
-
- properties:
305
-
sequentially:
306
-
type: array
307
-
minItems: 2
308
-
items:
309
-
type: object
310
-
minProperties: 1
311
-
maxProperties: 1
312
-
additionalProperties:
313
-
$ref: '#/$defs/task'
314
-
description: A list of the tasks to perform sequentially.
315
-
required: [ sequentially ]
316
-
description: Configures the task execution strategy to use
317
-
required: [ execute ]
318
-
description: Serves as a pivotal orchestrator within workflow systems, enabling the seamless integration and execution of multiple subtasks to accomplish complex operations
281
+
sequentially:
282
+
type: array
283
+
minItems: 2
284
+
items:
285
+
type: object
286
+
minProperties: 1
287
+
maxProperties: 1
288
+
additionalProperties:
289
+
$ref: '#/$defs/task'
290
+
description: A list of the tasks to perform sequentially.
291
+
required: [ sequentially ]
292
+
concurrentTask:
293
+
type: object
294
+
properties:
295
+
concurrently:
296
+
description: A list of the tasks to perform concurrently.
297
+
type: array
298
+
minItems: 2
299
+
items:
300
+
type: object
301
+
minProperties: 1
302
+
maxProperties: 1
303
+
additionalProperties:
304
+
$ref: '#/$defs/task'
305
+
required: [ concurrently ]
306
+
competingTask:
307
+
type: object
308
+
properties:
309
+
compete:
310
+
type: array
311
+
minItems: 2
312
+
items:
313
+
type: object
314
+
minProperties: 1
315
+
maxProperties: 1
316
+
additionalProperties:
317
+
$ref: '#/$defs/task'
318
+
description: |
319
+
A list of the tasks to perform concurrently and race against each
320
+
other, with a single possible winner, which sets the task's output.
0 commit comments