Your PowerShell script can easily add data back to the FIM Request by adding items to the WorkflowDictionary. The item can then be consumed by other activities, such as notification activities, or the function evaluator, etc.

 Put the InitialPassword back onto the FIM WorkflowDictionary
 NOTE: the WorkflowDictionary does not persist on the FIM Request - so it is not stored in the FIMService database once the request is finished
Write-Verbose "Adding InitialPassword to '[//WorkflowData/InitialPassword]' for the notification activity to consume"
# SECURITY: Do NOT write the password to the trace stream!
$RandomPassword = 'Pass@word1'

Last edited Mar 22, 2013 at 11:06 PM by bdesmondMVP, version 3


No comments yet.