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
+26-24Lines changed: 26 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -128,7 +128,8 @@ $defs:
128
128
unevaluatedProperties: false
129
129
oneOf:
130
130
- $ref: '#/$defs/callTask'
131
-
- $ref: '#/$defs/compositeTask'
131
+
- $ref: '#/$defs/doTask'
132
+
- $ref: '#/$defs/forkTask'
132
133
- $ref: '#/$defs/emitTask'
133
134
- $ref: '#/$defs/forTask'
134
135
- $ref: '#/$defs/listenTask'
@@ -306,31 +307,32 @@ $defs:
306
307
type: object
307
308
additionalProperties: true
308
309
description: A name/value mapping of the parameters, if any, to call the function with.
309
-
compositeTask:
310
-
description: Serves as a pivotal orchestrator within workflow systems, enabling the seamless integration and execution of multiple subtasks to accomplish complex operations
311
-
oneOf:
312
-
- $ref: '#/$defs/taskBase'
310
+
forkTask:
311
+
description: Allows workflows to execute multiple tasks concurrently and optionally race them against each other, with a single possible winner, which sets the task's output.
312
+
$ref: '#/$defs/taskBase'
313
+
type: object
314
+
unevaluatedProperties: false
315
+
required: [ fork ]
316
+
properties:
317
+
fork:
313
318
type: object
314
-
unevaluatedProperties: false
315
-
required: [ fork ]
319
+
required: [ branches ]
316
320
properties:
317
-
fork:
318
-
type: object
319
-
required: [ branches ]
320
-
properties:
321
-
branches:
322
-
$ref: '#/$defs/taskList'
323
-
compete:
324
-
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.
325
-
type: boolean
326
-
default: false
327
-
- $ref: '#/$defs/taskBase'
328
-
type: object
329
-
unevaluatedProperties: false
330
-
required: [ do ]
331
-
properties:
332
-
do:
333
-
$ref: '#/$defs/taskList'
321
+
branches:
322
+
$ref: '#/$defs/taskList'
323
+
compete:
324
+
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.
325
+
type: boolean
326
+
default: false
327
+
doTask:
328
+
description: Allows to execute a list of tasks in sequence
329
+
$ref: '#/$defs/taskBase'
330
+
type: object
331
+
unevaluatedProperties: false
332
+
required: [ do ]
333
+
properties:
334
+
do:
335
+
$ref: '#/$defs/taskList'
334
336
emitTask:
335
337
description: Allows workflows to publish events to event brokers or messaging systems, facilitating communication and coordination between different components and services.
0 commit comments