File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ Documents the workflow definition.
91
91
| title | ` string ` | ` no ` | The workflow's title. |
92
92
| summary | ` string ` | ` no ` | The workflow's Markdown summary. |
93
93
| tags | ` map[string, string] ` | ` no ` | A key/value mapping of the workflow's tags, if any. |
94
+ | metadata | ` map ` | ` no ` | Additional information about the workflow. |
94
95
95
96
#### Use
96
97
@@ -253,6 +254,7 @@ The Serverless Workflow DSL defines a list of [tasks](#task) that **must be** su
253
254
| export | [`export`](#export) | `no` | An object used to customize the content of the workflow context. |
254
255
| timeout | [`timeout`](#timeout) | `no` | The configuration of the task's timeout, if any. |
255
256
| then | [`flowDirective`](#flow-directive) | `no` | The flow directive to execute next.<br>*If not set, defaults to `continue`.* |
257
+ | metadata | `map` | `no` | Additional information about the task. |
256
258
257
259
# ### Call
258
260
Original file line number Diff line number Diff line change @@ -43,6 +43,11 @@ properties:
43
43
title : WorkflowTags
44
44
description : A key/value mapping of the workflow's tags, if any.
45
45
additionalProperties : true
46
+ metadata :
47
+ type : object
48
+ title : WorkflowMetadata
49
+ description : Holds additional information about the workflow.
50
+ additionalProperties : true
46
51
required : [ dsl, namespace, name, version ]
47
52
input :
48
53
$ref : ' #/$defs/input'
@@ -171,6 +176,11 @@ $defs:
171
176
$ref : ' #/$defs/flowDirective'
172
177
title : TaskBaseThen
173
178
description : The flow directive to be performed upon completion of the task.
179
+ metadata :
180
+ type : object
181
+ title : TaskMetadata
182
+ description : Holds additional information about the task.
183
+ additionalProperties : true
174
184
task :
175
185
title : Task
176
186
description : A discrete unit of work that contributes to achieving the overall objectives defined by the workflow.
You can’t perform that action at this time.
0 commit comments