Workflow 5 subWorkflow return
Hello VertiGIS community,
How do we get a return from a subworkflow? I have tried setting the subworkflow1.setResult with no luck on getting the runsubworkflow1.result to show the result from the subworkflow activity. I did figure out how to pass arguments to it.
Thanks,
Ash
0
-
Officiell kommentar
$subworkflow1.setResult is a callback function that sets the result. So to set the result of the subworkflow you would use an Evaluate Expression activity with an expression like this:
$subworkflow1.setResult("my value")or
$subworkflow1.setResult({ foo: "bar" })The Set Workflow Output activity always applies to the overall workflow, so it would not be used here.
--Ryan
-
Thank you Ryan for the support. I was able to get the subworkflow activity to work.
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
2 kommentarer