How to close multiple RITMs create by one Order Guide?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Flow Designer:
I have tried looking for this in the community but not finding what I'm referring to or don't understand it if it's correct.
Scenario: We have an order guide that order bundles. like if someone orders a computer the mouse and keyboard are part of the bundle. When creating an Order Guide it creates multiple RITMs for that Request. One for the computer and two more for each of the bundle items. All the TASKs for fulfillment are on the Computer RITM. When that closes the other two RITMs are still open.
Is there a way to get the addition RITMs to closed from the Flow as they are part of the REQ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
51m ago
Hi @kerr_jamese,
You can add given logic to the end of that specific Flow to close the "sibling" RITMs:
Go to the end of your main item's Flow (after all Catalog Tasks are completed).
Add an Action: Look Up Records.
Table: Requested Item [sc_req_item]
Conditions:
Request is [Trigger Record > Request]
Sys ID is not [Trigger Record > Sys ID] (This ensures you don't try to update the current RITM, which is already closing).
Active is True
Add Flow Logic: For Each.
Items: [Look Up Records > Requested Item Records]
Inside the "For Each" loop, add an Action: Update Record.
Record: [For Each > Item]
Fields: Set State to Closed Complete and Stage to Completed.
This ensures that once the main work is done, the flow grabs all other open items in that specific Bundle/Request and closes them out automatically.
If you find my response helpful, mark it as helpful and accepted solution.
Regards,
Maham Tahir.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
45m ago
Add Lookup Record Update Record activities to the flow to find these other RITMs under the same REQ and update them. The flows on the other RITMs can close them right away since they don't have any fulfillment tasks, or if one of the tasks that's on the Computer flow is really for the other items, then put it on the other flows instead.