Skip to content

Commit

Permalink
[Fix serverlessworkflow#712] Describe merge behaviour for non object
Browse files Browse the repository at this point in the history
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 <ftirados@redhat.com>
  • Loading branch information
fjtirado committed Mar 18, 2024
1 parent 3b6f976 commit 3e090b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ The second way would be to directly filter only the "veggie like" vegetables wit
| fromStateData | Workflow expression that filters state data that can be used by the action | string | no |
| 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 |
| results | Workflow expression that filters the actions data results | string | no |
| 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 |
| 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 |

<details><summary><strong>Click to view example definition</strong></summary>
<p>
Expand Down

0 comments on commit 3e090b7

Please sign in to comment.