Handling Assignments When Manually Cancelling a Process Folder
I have a process folder, that I want to be able to cancel through a User Action. I am looking for some steps or subflows that will allow me to cancel any current assignments, without orphaning flows. As is, with assignments in flight, a user could potentially complete their assignment with the process folder in the "cancelled" state, and move the data down an unintended path.
Comments
-
We have steps for your two requirements as follows:
- For assignments, we can use steps inside Integration > Internal > Assignments where we have several built-in steps to get assignments based on a criteria. Or if you so desire, you could use "Get All" assignments, and filter down with a Collection Filter step.
- For cancelling orphaned flows, our assignment data type has a field "Tracking ID". We can pass this into the "Cancel Flow" step found in Integration > Internal Services > FLOWDEBUGSERVICE.
If doing this for multiple assignments, place this logic in a loop for each output of the collection filter

