Skip to content

Commit 3e090b7

Browse files
committed
[Fix #712] Describe merge behaviour for non object
Update specification to make runtimes predicateble when an action produced a non json object and there is not toStateData filter Signed-off-by: Francisco Javier Tirado Sarti <[email protected]>
1 parent 3b6f976 commit 3e090b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

specification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ The second way would be to directly filter only the "veggie like" vegetables wit
439439
| fromStateData | Workflow expression that filters state data that can be used by the action | string | no |
440440
| useResults | If set to `false`, action data results are not added/merged to state data. In this case 'results' and 'toStateData' should be ignored. Default is `true`. | boolean | no |
441441
| results | Workflow expression that filters the actions data results | string | no |
442-
| toStateData | Workflow expression that selects a state data element to which the action results should be added/merged into. If not specified denotes the top-level state data element | string | no |
442+
| toStateData | Workflow expression that selects a state data element to which the action results should be added/merged into. If not specified denotes the top-level state data element. In case it is not specified and the result of the action is not an object, that result should be merged as value of `response` key. If that `response` key already exist in the model, its value will be overwritten. | string | no |
443443

444444
<details><summary><strong>Click to view example definition</strong></summary>
445445
<p>

0 commit comments

Comments
 (0)