workflow-core
workflow-core copied to clipboard
Json "outputs" missing (data, step, context) action expression
Hello
Need some help on architecture/design
I presume it's good practice is to read / write from/to workflow data and context only via the step's inputs/outputs... this is achievable for the fluent builder and for "inputs" in DSL, but outputs, beyond simple 1:1 assignment, is currently missing needed functionality to do something like this (note reverse step.Result <-- data):
"Outputs": {
"Result" : "data.Users[context.Item].Answer"
}
Of course we can manipulate data directly in the StepBody class, or is this what we should be doing?
I've seen a PR to adapt the key expression to support dot-notation (Parent.Child), but a full action expression is really needed I think...