While working on orchestrator runbooks, you will come across a lot of scenarios where you need to stop execution of a runbook based on certian conditions. 

I came across a similar situation and desinged this stop runbook.


Here Runbook ID or unique ID is taken as an input parameter, (you need to fetch this info the database or orchestrator web URL).


Once unique ID is entered,  stop runbook will automatically fetch it instance id (this will be unique every time a runbook runs) from orchestrator DB and stop only that instance of the runbook.


I hope this will be of  help to you for orchestration of runbooks.

For more information please click here: https://tadgata.wordpress.com/2017/05/06/stop-runbook-instance-by-orchestrator/

Happy Automation!

You can also connect with me on Twitter @tadgata, and my blog https://tadgata.wordpress.com