- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2024 07:01 PM
Requirement: Close the RITM when all related catalog tasks are closed using flow designer.
Create a flow as follows.
Trigger:
Actions:
1. Look up catalog task records
2. Check if any catalog tasks are not closed complete and end flow
3. Update the state and stage fields of RITM record.
Complete Flow:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2024 12:59 AM
Instead of creating new flow for closing RITM state, create one subflow with this given action and use it for every catalog item flow.
Please mark this as "correct" and "helpful" if you feel this answer helped you in anyway.
Thanks and Regards,
Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2024 12:59 AM
Instead of creating new flow for closing RITM state, create one subflow with this given action and use it for every catalog item flow.
Please mark this as "correct" and "helpful" if you feel this answer helped you in anyway.
Thanks and Regards,
Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2024 03:30 AM
Hi @Ashish Parab,
The above flow can be applied for all the catalog items, and your solution is also correct but can you say what can be the input and output of the sub-flow you are mentioning. Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2024 10:04 PM
Hey @shivatmika_19 ,
Yes, you can use this subflow in multiple flows.
Use the Requested Item record as an input from the main flow. For this subflow, you do not require any output as you are updating the requested item record in the subflow. If you want count or anything else, then you can use that as an output.
Please mark this as "correct" and "helpful" if you feel this answer helped you in anyway. You can mark multiple answers as correct and helpful.
Thanks
Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2024 01:17 AM
Anyway flow doesn't moves until the catalog task is closed, so create one sub-flow for closure and add it after joining all catalog tasks to this particular sub-flow.
Please appreciate the efforts of community contributors by marking the appropriate response as the correct answer and helpful. This may help other community users to follow the correct solution in the future.
********************************************************************************************************
Cheers,
Prashant Kumar
ServiceNow Technical Architect
Community Profile LinkedIn YouTube Medium TopMate
********************************************************************************************************