Threading instances of an invoked runbook
I am currently working on a set of runbooks to complete tasks associated with an approval process. I have one runbook that adds an approver to a service request based on user input and a database query. At the end of that runbook I am invoking another runbook that sets the status of the service request to pending approval. The issue that i'm running into is that i'm not getting dedicated threads for each instance of the runbook that sets the status. If I submit 5 requests the runbook that assigns the approver runs 5 instances, but the runbook that changes the status runs one at a time. I was under the impression that the runbook that sets the status would start a new instance with each invocation. The screen shows what i'm seeing the scorch console.
Any advice would be much appreciated.
Best Answer
-
David_Morris1 Member Advanced IT Monkey ✭✭✭One runbook server only process one instance of a runbook at a time the GetRequestData is processing 1 at a time just quickly, the issue you seem to be having is the set pending runbook is taking 5 mins a time to run, if this is only to set a service request status this seems a very long time5
Answers
Is the GetRequestData the runbook that assigns the approver?
Cheers
Dave