When using the PowerShell activity (NOT the PowerShell Workflow Activity) in a workflow, how can I get an object ID?
I.e. with PowerShellWorkflowActivity you can use $fimwf.targetID but how can I do that in a normal Powershell activity?
Thanks,
JD
Technology Tips and News
When using the PowerShell activity (NOT the PowerShell Workflow Activity) in a workflow, how can I get an object ID?
I.e. with PowerShellWorkflowActivity you can use $fimwf.targetID but how can I do that in a normal Powershell activity?
Thanks,
JD
Hi JD,
What kind of Powershell Activity do you use?
The way to get ObjectID (of the target) is coded in the PowerShell Workflow Activity. So, if it's not present in your activity, I'm afraid that you have to find another way...
Regards,Thanks. Have reverted back to using parameters e.g. [//Target/DisplayName].
JD
Thanks. Have reverted back to using parameters e.g. [//Target/DisplayName].
JD
Thanks. Have reverted back to using parameters e.g. [//Target/DisplayName].
JD
Thanks. Have reverted back to using parameters e.g. [//Target/DisplayName].
JD