File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 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.
963963
964964| Name | Type | Required | Description |
965965|:--|:---:|:---:|:---|
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 . |
967967
968968# #### Examples
969969
979979 shape: circle
980980 size: ${ .configuration.size }
981981 fill: ${ .configuration.fill }
982+ - setColor:
983+ set: ${ .configuration.color }
982984` ` `
983985
984986# ### Switch
Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ schedule:
99 with :
1010 type : io.serverlessworkflow.samples.events.trigger.v1
1111do :
12- - initialize :
12+ - initializeObject :
1313 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