Hi @jansi rani krishnan ,
these are the Orchestrator services:
----------
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi Team,
I created a Runbook which actually receives the input and updates the data into the incident form. It contains two activities.
PFA the screenshot for the same.
I have written a PowerShell code to execute this Runbook via web-service call. PFA the snapshot of the code as follows.
When i executed the PowerShell script, the Runbook is not functioning as expected. There is no error returned from the script. The Runbook job status is running continuously and i had to manually stop the job after a while in the Orchestrator Console window. What could be the issue?
I also tested the Runbook independently and it is working fine as expected. Am i missing anything here.
Any inputs is highly appreciated.
Regards,
Jansi
Hi @jansi rani krishnan ,
these are the Orchestrator services:
----------
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten
Hi @jansi rani krishnan ,
I am missing the Import-Module SMLets
line in your Run .Net Script
activity.
Also missing is the smdefaultserver = <yourSCSMserver>
line.
Both lines are required to run the script with SCSM cmdlets on the Orchestrator Server.
For that reason I am wondering the Runbook is working if started in the Runbook Tester.
If the Runbook is triggered by the invoke PowerShell script in which activity it is "hanging"?
----------
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten
Hi @jansi rani krishnan ,
if you start the Runbook via Runbook Designer it's working?
Which Runbook Servers are defined in the Runbook properties/settings?
Please verify the Orchestrator services are running on all Orchestrator Servers.
----------
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten