How to Create a Second RITM Under the Same REQ After 14-Day Delay in Flow Designer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi Community,
I have a requirement in ServiceNow where:
- A user submits Catalog Item A.
- A Flow Designer flow runs for Item A.
- After 14 days, I need to automatically submit Catalog Item B.
- Both items should belong to the same Request (REQ), so the final result is one REQ with two RITMs (Item A and Item B).
I know the Submit Catalog Item action in Flow Designer creates a new REQ by default. Is there an out-of-box way to attach Item B to the existing REQ? Or do I need a custom solution?
If custom scripting is required:
- How do I create a new sc_req_item under the same REQ?
- How do I populate variables for Item B and trigger its workflow/flow?
Any best practices or sample code would be greatly appreciated!
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
@LokeshwarRV
no OOTB way to attach it to existing REQ.
You can use "Submit Catalog Item Request" flow action to generate fresh RITM and REQ
Let it create new REQ, update the REQ on newly created RITM with the earlier REQ and cancel the latest REQ, for this you can use "Update Record" flow action to update sc_req_item
There you can select the variables which needs to be set along with the values you wish to pass
Submit Catalog Item Request action
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi @LokeshwarRV
I’m not fully sure about your exact use case, but you should first think about why a second RITM is needed after 14 days, and what should happen after 28 days. Do you want to create another RITM at that point as well?
If you can clearly explain the business use case, we can help you design the right solution. There is no direct out-of-the-box (OOTB) way to create RITMs in this manner automatically.
Out of the box, when you use a Catalog Item in a Flow, it creates a REQ and an RITM. If this is triggered multiple times, you may end up with more records than expected, which can create unnecessary complexity.
So please consider the above points carefully first, and then decide on the best approach. Once the use case is clear, we’ll be happy to guide you further.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi @Dra
In my case I need to submit another related catalog item from the flowdesigner after the 14 days
and i need to have 1Req and 2RITMS