Creating SCSM ticket with a runbook attached
I have created tickets without activities but never with a runbook. Have tried a couple of times but never managed to successfully map an existing runbook with parameters to it.
I found some old URLs but it never quite worked for me.
Answers
Hi Sean,
I'm assuming you mean programmatically - rather than just creating one.
PowerShell ok? I have this function. You need a runbook template with the params already sorted and then you just create it on the Parent and apply the template.
Geoff
What exactly doesn't work?
If you create a runbook automation activity template, you have the possibility to map a workitem value to the parameter list.
So you could e.g. map the ID or the Guid to that parameter, depending on what you need.
And then you have to add the RB Activity to the IR template:
@Simon_Zeinhofer Thanks for the reply. I think @Geoff_Ross may have provided me with a solution. It was using Orchestrator to create a new ticket with a related runbook.
I could get Orchestrator to create the ticket and have a runbook activity, but couldn't get the runbook name and parameters into the newly created activity.
Thanks @Geoff_Ross. I will give it a try when I can.