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
+12
Original file line number
Diff line number
Diff line change
@@ -103,6 +103,7 @@ properties:
103
103
description: Schedules the workflow
104
104
$defs:
105
105
taskList:
106
+
title: TaskList
106
107
type: array
107
108
items:
108
109
type: object
@@ -314,6 +315,7 @@ $defs:
314
315
additionalProperties: true
315
316
description: A name/value mapping of the parameters, if any, to call the function with.
316
317
forkTask:
318
+
title: ForkTask
317
319
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.
318
320
$ref: '#/$defs/taskBase'
319
321
type: object
@@ -331,6 +333,7 @@ $defs:
331
333
type: boolean
332
334
default: false
333
335
doTask:
336
+
title: DoTask
334
337
description: Allows to execute a list of tasks in sequence
335
338
$ref: '#/$defs/taskBase'
336
339
type: object
@@ -340,6 +343,7 @@ $defs:
340
343
do:
341
344
$ref: '#/$defs/taskList'
342
345
emitTask:
346
+
title: EmitTask
343
347
description: Allows workflows to publish events to event brokers or messaging systems, facilitating communication and coordination between different components and services.
344
348
$ref: '#/$defs/taskBase'
345
349
type: object
@@ -377,6 +381,7 @@ $defs:
377
381
additionalProperties: true
378
382
required: [ event ]
379
383
forTask:
384
+
title: ForTask
380
385
description: Allows workflows to iterate over a collection of items, executing a defined set of subtasks for each item in the collection. This task type is instrumental in handling scenarios such as batch processing, data transformation, and repetitive operations across datasets.
381
386
$ref: '#/$defs/taskBase'
382
387
type: object
@@ -404,6 +409,7 @@ $defs:
404
409
do:
405
410
$ref: '#/$defs/taskList'
406
411
listenTask:
412
+
title: ListenTask
407
413
description: Provides a mechanism for workflows to await and react to external events, enabling event-driven behavior within workflow systems.
408
414
$ref: '#/$defs/taskBase'
409
415
type: object
@@ -418,6 +424,7 @@ $defs:
418
424
description: Defines the event(s) to listen to.
419
425
required: [ to ]
420
426
raiseTask:
427
+
title: RaiseTask
421
428
description: Intentionally triggers and propagates errors.
422
429
$ref: '#/$defs/taskBase'
423
430
type: object
@@ -432,6 +439,7 @@ $defs:
432
439
description: Defines the error to raise.
433
440
required: [ error ]
434
441
runTask:
442
+
title: RunTask
435
443
description: Provides the capability to execute external containers, shell commands, scripts, or workflows.
436
444
$ref: '#/$defs/taskBase'
437
445
type: object
@@ -540,6 +548,7 @@ $defs:
540
548
required: [ workflow ]
541
549
description: Enables the invocation and execution of nested workflows within a parent workflow, facilitating modularization, reusability, and abstraction of complex logic or business processes by encapsulating them into standalone workflow units.
542
550
setTask:
551
+
title: SetTask
543
552
description: A task used to set data
544
553
$ref: '#/$defs/taskBase'
545
554
type: object
@@ -552,6 +561,7 @@ $defs:
552
561
additionalProperties: true
553
562
description: The data to set
554
563
switchTask:
564
+
title: SwitchTask
555
565
description: Enables conditional branching within workflows, allowing them to dynamically select different paths based on specified conditions or criteria
556
566
$ref: '#/$defs/taskBase'
557
567
type: object
@@ -579,6 +589,7 @@ $defs:
579
589
$ref: '#/$defs/flowDirective'
580
590
description: The flow directive to execute when the case matches.
581
591
tryTask:
592
+
title: TryTask
582
593
description: Serves as a mechanism within workflows to handle errors gracefully, potentially retrying failed tasks before proceeding with alternate ones.
583
594
$ref: '#/$defs/taskBase'
584
595
type: object
@@ -610,6 +621,7 @@ $defs:
610
621
description: The definition of the task(s) to run when catching an error.
611
622
$ref: '#/$defs/taskList'
612
623
waitTask:
624
+
title: WaitTask
613
625
description: Allows workflows to pause or delay their execution for a specified period of time.
0 commit comments