HI, I have spent a few days looking for away to export the output of the "invoke a powershell" module but can't seem to find anything recent. Most post point me to writning Javascript to get the results into an email. My thougth is you can have "invoke a powershell" and the map the output of that to the content of the "Send notfication" module. Can I map this in visual binding or do I need to write Javascript?
Thanks.
The output class has this structure
You can get the console output (if there was any...) by calling the getHostOutput() method which gives you a string value. You can pass this to the Send Notification workflow in the content input
HTH
The easiest way is to create a new workflow in the client which calls the PowerShell workflow, then maps the output to the Send Notification workflow
You will need to write a little Javascript for the middle piece but it should not be too difficult