Pick up Service Request or Change Request ID from the PowerShell Activity
I am thinking of automatically populating activities and reviewers after the PS Activity in the SR/CR, but i need to pick up the parent SR ID from within the PS Activity. Anyone?
Best Answer
-
Licens_Aklagare Customer IT Monkey ✭
It was more simple than i thought, when creating params.. the dropdown shows you Everything you need from the parent SR.
0
Answers
I don't know about Powershell, however we use orchestrator to check for Must Vote on RA activities.
I have however read this before and found it rather interesting: http://www.xapity.com/single-post/2017/04/25/PowerShell-for-SCSM-Remove-and-Add-Reviewers-to-Change-Requests
Do you use Ciresons Powershell Activity? I would like to pick up the SR/CR ID and act on it in the activity code.
It was more simple than i thought, when creating params.. the dropdown shows you Everything you need from the parent SR.