Action: Start Flow for RITM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2025 07:38 AM
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:
Here is my custom action:
here is my custom action within the master flow:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2025 06:18 AM
I did.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2025 06:26 AM
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2025 06:40 AM
they are both global scope.
I 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...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2025 06:46 AM
Can you post the image of the Error and also Are you triggering the flow from Script ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2025 07:23 AM
Error: Illegal access to getter method getMessage in class com.snc.process_flow.exception.PlanRecursionException