How do you log to WorkflowHistory using PowerActivity?

Jun 22, 2010 at 1:34 AM

Since I can't use Write-Host, I'd like to be able to update the Workflow History of this item.  I may have missed this in the documentation, but is this possible?

Jun 22, 2010 at 10:43 AM

At the moment this is not supported within the poweractivity. assign the message to the $output variable and bind it to to a workflow variable, then use the SPD append to history action.

Jun 22, 2010 at 11:42 AM

I knew you'd have an answer... Thanks!

May 24, 2011 at 10:49 AM

Does this apply also to the SPD 2010 Execute PowerShell Script Action? How can I bind to the $output variable?