Zum Hauptinhalt gehen

Workflow 5 subWorkflow return

Kommentare

2 Kommentare

  • Offizieller Kommentar
    Ryan Cooney

    $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

  • Ash Petitjean

    Thank you Ryan for the support. I was able to get the subworkflow activity to work.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.