Hi Andreas, StefanHorz,
I am triggering a Runbook (which creates an incident in SCSM) through a web-service call using a PowerShell code. In real scenario, this Runbook would be triggered by a third party application (Service-Now).
As soon as when the Runbook gets triggered, it returns the response even before it completes its execution. A sample response is attached below.

When we query the Runbook with Job GUID (which is unique for each instance), we can get the status as completed. Actually am facing an issue wherein the third party application receives this response and they are not sure if the web-service call was successful by seeing the status as "pending". Unfortunately they cannot query the Runbook job GUID as they are not in the same network where Orchestrator servers are running.
Is there a way where we configure the Orchestrator Runbook to send the response only after it completes the execution?
Please suggest any solution. I am totally stuck with this work. Any pointers are highly appreciated!
Regards,
Jansi