none
Pass PowerShell output to a WorkflowData parameter RRS feed

  • Question

  • Hi,

    Is it possible to assign a array to WorkflowData parameter?

    Also how do we assign an output from a powershell to workflowdata parameter so that this value can be used in email notification. I see that we have 3 options for the Script Return Type parameter. I used "Single Value"  and in the Return Value Look up I gave something like [//WorkflowData/PowershellOutput].

    I tried using this [//WorkflowData/PowerShellOutput] in the body of the email notification template but it doesn't seem to get populated with any value when I receive the mail notification.

    In the eventViewer it gives a warning message as below

    Cannot reference specified workflow data parameter:System as it does not exist within the dictionary.

    Can someone help me here?

    Thanks,

    Veena

    Tuesday, May 26, 2015 2:12 PM

All replies

  • What PowerShell activity do you use?

    If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer.

    Thursday, May 28, 2015 10:14 AM