Windows PowerShell Home
workflow error, PSSenderInfo has not been set
11/5/2012 6:02:07 AM
User(s) can reproduce this bug
I get the following error that looks like it is coming from inside PoSH workflow engine when running local, small workflows that return PSCustomObject.
The variable '$PSSenderInfo' cannot be retrieved because it has not been set.
At line:224 char:59
+ $psBoundParameters['PSSenderInfo'] = $PSSenderInfo
+ CategoryInfo : InvalidOperation: (PSSenderInfo:String) , RuntimeException
+ FullyQualifiedErrorId : VariableIsUndefined
This happens at the end of the workflow.
How often does this happen?
Have you seen this problem before in this product?
No, this is new to the most recent version
1. Create workflow that uses inline scripts and returns PS-CustomObject back to calling script. I am using 'foreach -parallel' and some of the parallel tasks are throwing errors.
2. When the workflow completes I see the strict error.
Does not throw an error from PoSH workflow infrastructure when run with 'Set-PSDebug -Strict' set.
to post a comment.
Please enter a comment.
to post a workaround.
Please enter a workaround.
© 2013 Microsoft