execution order of ritm in a order guide

RC12
Tera Contributor

hi all, i wan to control the execution stages of requested items in service catalog via flow design? can anyone help me. like first will be id creation. after the sctask is set to close complete then laptop request should show , after laptop sctask is set to close complete then the next ritm will show like this. i want this to be done in flow design. 

5 REPLIES 5

palanikumar
Mega Sage

Hi,

Flow design supports stages. But you have it add it differently. Refer this article to configure stages in Flow designer.

https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/administer/flow-designer/task/add...

Thank you,

Palani

Thank you,
Palani

-O-
Kilo Patron
Kilo Patron

You would need to create (most likely hidden) variables that act as a pause at the very beginning of each flow. Then whenever a catalog item is closed, it must look up (best in a business rule) those other requested items that might be waiting for it to finish and update that flag, signaling the appropriate flow, that it is good to continue.

-O-
Kilo Patron
Kilo Patron

I mean in the Laptop request you would need a hidden-flag-variable (perhaps called ID created) that had the initial value false and the Flow for it had as the first step a wait one. The condition would be wait till the hidden-flag-variable ID created is false.

Then you would need a BR on Requested Item (or perhaps Catalog Task) that would be triggered when the Requested Item (or a specific Catalog Task) is closed, would look up the Laptop request under the same parent Request and would update its hidden-flag-variable ID created to true. That would let the Laptop Flow go on.

RC12
Tera Contributor

if you could give me the script i would be obliged. i am very new to this.if u could help.