How can I get the output from a custom powershell activity to show in another activity further in the workflow

User163016
Tera Contributor

Within the custom PS activity, I set up the variable to output: Write-Host "$($DPW)".   The next activity is a notification where I need to take the output (dpw) and send in an email.   I've tried several things within the notification with no success:

${activityOutput.result}

${activityOutput.dpw}

${dpw}

Every way I try it, I always get blank output.

I put logging into place so that I know I'm getting the correct output, I just can't get it to show up in the next activity.

Thanks in advance for your assistance

5 REPLIES 5

No, I have not gotten an answer for this.  I applied a workaround to address my specific situation but that won't work in other scenarios.  I'm still searching for the answer.  sorry.