File tree 2 files changed +9
-3
lines changed
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -963,7 +963,7 @@ A task used to set data.
963
963
964
964
| Name | Type | Required | Description |
965
965
|:--|:---:|:---:|:---|
966
- | set | `object` | `yes` | A name/value mapping of the data to set. |
966
+ | set | `object` | `string` | ` yes` | A name/value mapping of the data to set. Can be an object or a direct runtime expression . |
967
967
968
968
# #### Examples
969
969
979
979
shape: circle
980
980
size: ${ .configuration.size }
981
981
fill: ${ .configuration.fill }
982
+ - setColor:
983
+ set: ${ .configuration.color }
982
984
` ` `
983
985
984
986
# ### Switch
Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ schedule:
9
9
with :
10
10
type : io.serverlessworkflow.samples.events.trigger.v1
11
11
do :
12
- - initialize :
12
+ - initializeObject :
13
13
set :
14
- startEvent : ${ $workflow.input[0] }
14
+ startEvent : ${ $workflow.input[0] }
15
+ status : active
16
+
17
+ - initializeString :
18
+ set : ${ $workflow.input[0] }
You can’t perform that action at this time.
0 commit comments