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

I did.

MarkBrogna_0-1747315099782.png

 

@Mark Brogna 

when you use "Submit Catalog Item Request" flow action it does trigger the flow associated to that item

the flow "Software Installation Request Flow" is in same scope as that of your main flow from where you are submitting the catalog item request?

Could be a cross scope issue

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

they are both global scope. 

am getting the following error when they attempt to start the flow: 

JavaScript evaluation error on: startFlowDesignerFlow(current); function startFlowDesignerFlow(current) { var flow = current.cat_item.flow_designer_flow; var flowName = flow.sys_scope.scope + "." + flow.internal_name; sn_flow_trigger.FlowTriggerAPI.fireCatalogTrigger(flowName, current); } Root cause of JavaScriptException: com.snc.process_flow.exception.PlanRecursionException : com.snc.proc...

Can you post the image of the Error and also Are you triggering the flow from Script ?

MarkBrogna_0-1747318967990.png

Error: Illegal access to getter method getMessage in class com.snc.process_flow.exception.PlanRecursionException