- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2025 07:11 AM
Hi @Ankur Bawiskar / @Ravi Gaurav / @Dr Atul G- LNG
Could you please help on this
Based on the Request Type Entries the RITM's needs to be generated
For Example,
Suppose if the Request Type has two entries in Request then RITM need to be create Two RITM with Attached Workflow.
Currently i am using below script but the Workflow is not getting attached to the Generated RITMs
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2025 03:03 AM
Thanks @Ankur Bawiskar, for the response.
The CartJS was working but I couldn't be able to add existing Request as Parent to RITM through CartJS and Workflow was note getting attached. I have figured out another way by changing state, approval and stage field of RITM and Workflow was getting attached.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2025 03:28 AM
Thanks @Ankur Bawiskar, for the response.
The CartJS was working but I couldn't be able to add existing Request as Parent to RITM through CartJS and workflow was also not getting attached. I have figured out another way by changing the state, approval, stage field while inserting the RITM and workflow was attaching it was working fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2025 03:28 AM
Thanks @Ankur Bawiskar, for the response.
The CartJS was working but I couldn't be able to add existing Request as Parent to RITM through CartJS and workflow was also not getting attached. I have figured out another way by changing the state, approval, stage field while inserting the RITM and workflow was attaching it was working fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2025 05:50 AM
I believe I answered your original question
Using CartJS it does create REQ, RITM and workflow/flow on RITM will get attached
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
02-25-2025 05:57 AM
It does create RITM but didn't attach workflow. But found another solution, thanks for your time.