merge mistral tasks data to execution context
Currently, mistral replaces task data in execution context.
With a merge strategy config, mistral can have option to replace or merge a task data to execution context.
For Ex:
workflow:
"""
version: '2.0'
wf:
input:
- aa:
bb: wf_ex_input
cc: wf_ex_input
zz: wf_ex_input
output:
aa: <% $.aa %>
tasks:
task1:
# emulate some action result
aa:
task2:
# emulate some action result
aa:
"""
merge strategy: replace(current behaviour)
workflow_op:
{
"aa": {
}
}
merge strategy: merge
workflow_op:
{
"aa": {
}
}
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Vasudeo Nimbekar
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Merge mistral tasks data to execution context