File tree 4 files changed +25
-9
lines changed
4 files changed +25
-9
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 \| string` | `yes` | Can be an object or a direct runtime expression. |
966
+ | set | `map` <br> ` string` | `yes` | Can be an object or a direct runtime expression. |
967
967
968
968
# #### Examples
969
969
Original file line number Diff line number Diff line change
1
+ document :
2
+ dsl : ' 1.0.0'
3
+ namespace : test
4
+ name : set
5
+ version : ' 0.1.0'
6
+ schedule :
7
+ on :
8
+ one :
9
+ with :
10
+ type : io.serverlessworkflow.samples.events.trigger.v1
11
+ do :
12
+ - initializeObject :
13
+ set :
14
+ startEvent : ${ $workflow.input[0] }
15
+ status : active
16
+
17
+ - initializeString :
18
+ set : ${ $workflow.input[0] }
Original file line number Diff line number Diff line change @@ -9,10 +9,6 @@ schedule:
9
9
with :
10
10
type : io.serverlessworkflow.samples.events.trigger.v1
11
11
do :
12
- - initializeObject :
12
+ - initialize :
13
13
set :
14
14
startEvent : ${ $workflow.input[0] }
15
- status : active
16
-
17
- - initializeString :
18
- set : ${ $workflow.input[0] }
Original file line number Diff line number Diff line change @@ -767,11 +767,13 @@ $defs:
767
767
unevaluatedProperties : false
768
768
properties :
769
769
set :
770
- type : [object, string]
770
+ oneOf :
771
+ - type : object
772
+ minProperties : 1
773
+ additionalProperties : true
774
+ - type : string
771
775
title : SetTaskConfiguration
772
776
description : The data to set.
773
- minProperties : 1
774
- additionalProperties : true
775
777
switchTask :
776
778
type : object
777
779
$ref : ' #/$defs/taskBase'
You can’t perform that action at this time.
0 commit comments