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-14-2025 07:47 AM
I would suggestion to create a Catalog item and then create all your variables in that and Submit that request and then attach your flow to that request it will be much more easier as I see you are trying to copy the variables and attachments from the original submitted RITM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2025 08:07 AM
you cannot create flow on 'sc_req_item' table
Did you create a subflow which accepts the table and the RITM sysId to trigger?
Why not use "Submit Catalog Item Request" flow action and it will generate a fresh REQ and RITM
Then you can attach your flow to that catalog item which you are using in earlier step.
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-14-2025 04:09 PM
for some reason the flow doesn't initiate when using the "Submit Catalog Item Request" flow action. I do have the flow set for the catalog item. Thoughts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2025 05:25 PM
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-14-2025 08:28 PM
did you attach flow to your catalog item which is getting submitted via "Submit Catalog Item Request" flow action?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader