How can I cancel a request from a sequenced order guide?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I have an order guide with two RITMs in it. We are also using the Order Guide Sequential Fulfillment plugin because RITM 2 shouldn't be triggered until RITM 1 is completed. Completing RITM 1 and triggering RITM 2 is working as expected. But when RITM 1 is cancelled, RITM 2 should also be cancelled as well as the REQ.
I'm new to the Sequential Fulfillment plugin as this is our first time using it. I clicked on "Additional Options" for RITM 2 and set the run condition to "RITM 1 State is not Cancelled" thinking maybe that would at least stop it from triggering, but that didn't work. I'm assuming there has to be a clean way to cancel RITM 2 if RITM 1 is cancelled in the sequencing process, and I'm curious if anyone knows how to do that?
As a last resort, I assume I could setup a sub flow in RITM 1 so that it queries the REQ and cancels any open RITM's associated with it. Or I could update the workflow on RITM 2 to check and see if the other associated RITM is closed complete before continuing, but I feel like I'm overcomplicating this.
TIA
- Labels:
-
Next Experience Release Updates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
I was able to prevent the second RITM from executing by configuring the second stage of my sequence. I set the "Starts after" to the first stage, and then also added the run conditions of:
RITM 1 State > Is > Closed Complete
and
RITM 1 State > Is Not > Closed Cancelled
So now when RITM 1 is cancelled, RITM 2 has a state of -10 and a Stage of Not Started. I need to figure out why -10 is showing up instead of an actual state, but happy to have made it this far at least. I still don't see a way to actually cancel the second RITM though.
