Action: Start Flow for RITM

Mark Brogna
Tera Contributor

I have created a custom action to start a flow for a newly create RITM within my master flow. It tests fine however, when launched from the master flow, I get the following error:

MarkBrogna_0-1747233385351.png

 

Here is my custom action:

MarkBrogna_1-1747233438220.png

 

here is my custom action within the master flow:

MarkBrogna_2-1747233485009.png

 

 

22 REPLIES 22

Why are you triggering the Flow again from Script. Once you use "Submit Catalog Item" action it will submit the Request and your flow will be triggered automatically.

there is no need for you to trigger the flow again from script

as I mentioned above this catalog request is to request software; either new software (not in software product model table) and existing software (software in the product model table). If the request is for NEW software, there is a task where they can recommend an existing software that should work. If they do recommend the software, I want to create the new request that triggers the flow for the new request/ritm so it can go through the logic for the existing software.

 

NOTE the branch in my flow to evaluate "new" vs. "existing"

MarkBrogna_0-1747321536267.png

 

 

So in the Else you are using the "Submit Catalog Item Request" action 

ursnani_0-1747324519539.png

You can give your new Software installation Requeste name in Catalog Item. Once you add that item it will automatically display all the fields related to that item where you can enter the information accordingly.(make sure you added your Flow to Catalog item in this case you said you already added so we are good.)
Once the flow comes to Else part it will automatically Submit the Request and your flow attached to that will be triggered. You can open the newly Submitted RITM and check the FLOW Execution.
NOTE: There is NO NEED of any custom script action for calling your FLOW.

I am doing that currently. 

 

MarkBrogna_0-1747331507770.png

However it is erroring when the Submit Catalog Item Request flow action occurs attempts to start the flow:

MarkBrogna_1-1747331653159.png

 

Note: it creates the Request/RITM but, the flow does not fire.

 

Submit Catalog Item flow action will not trigger the flow directly. It will just submit the Catalog Item.

Check the Flow of the Item or can you post flow Picture here so that I can see what are the action you are having.

 

My guess is in the new flow which is getting triggered it has some error.