- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2022 03:13 AM
I have a flow on catalog items which asks for approval from a subflow.
Which returns approved or rejected, and the flow continues.
I send the RITM as a reference record to the subflow.
However, I noticed that if a RITM is awaiting approval, and I set the state to Closed Complete, the subflow is still waiting for approval, and the main flow doesn't continue setting the stages.
So, I'd like to wait for condition in my subflow, and if the RITM state is set to Closed, I want to listen to that and set the approval to No longer required, so the main flow can continue. How would I do that in my subflow?
This is my subflow:
This is the main flow:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2022 07:52 AM
-> To help others, please mark this as Correct or Helpful if this response has been of any use. <-
You could try using a 'Do the following in Parallel' action and a wait on the RITM state.
For example:
-> To help others, please mark this as Correct or Helpful if this response has been of any use. <-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2022 07:52 AM
-> To help others, please mark this as Correct or Helpful if this response has been of any use. <-
You could try using a 'Do the following in Parallel' action and a wait on the RITM state.
For example:
-> To help others, please mark this as Correct or Helpful if this response has been of any use. <-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2022 03:31 AM
Ah! That's great, exactly what I was looking for!
You might ask why this would even be an issue, because it shouldn't be possible to even close a RITM if it is awaiting approval in the first place. So I made policies for that 🙂
But disregarding that, this is exactly what I was looking for 🙂