Pass Variables from a Workflow RRS feed

  • Question

  • I am trying to find a way to pass a variable from a workflow. I run three functions inside the workflow, all of which get written into a variable when running. Is there a way to pass that information back to outside the workflow so i can manipulate and export it after?
    Thursday, June 23, 2016 3:26 PM


  • Just output anything you want to retain.  It works just like a function call except that output will not be in any order depening on the non-sequential elements of your workflow.

    You cannot access any variables in the calling PowerShell session since workflows run in different workspaces.

    The normal method of returning information is through custom objects.


    • Marked as answer by Josh Lavely Thursday, June 23, 2016 4:15 PM
    Thursday, June 23, 2016 3:43 PM

All replies