This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Parameters to script and back

Hello

I can't find any information about how to send parameter values from a workflow to a powershell script and back (after modifying them).

What I already tried to pass parametervalues to a script:

$testvar = $Workflow.Parameter("test")

$testvar = $Request.Parameter("test")

To get values FROM the script BACK to the workflow parameters:

$Workflow.Parameter("test) = $testvar

$Request.Parameter("test") = $testvar

I'd be very thankful for clarifications!

Best regards

PSnewb

Parents
  • I am having the exact same problem. 
    Reading parameter into the script works with $testvar = $Workflow.Parameter("test")
    but I cant get a script to modify the value of a parameter to user in a later workflow activity (if/else)

Reply
  • I am having the exact same problem. 
    Reading parameter into the script works with $testvar = $Workflow.Parameter("test")
    but I cant get a script to modify the value of a parameter to user in a later workflow activity (if/else)

Children
No Data