Independent Flow completion with the Parent flow work object resolution.
We are using a StartFlow OOTB activity to start a new independent flow on the work object with an open assignment. We do have certain local actions to resolve the case, We are using a Set-Ticket to jump to the last flow end shape and Updating status using UpdateStatus. But while do this the independent flow with an open assignment is not getting resolved. In tracer I can see the Ticket is raised on the Independent Flow but not resuming and ending the flow unlike the Parent flow leaving behind the open assignment on the resolved case.
Do we have any other alternatives to solve this requirement or AM I missing? Please share your thoughts
***Updated by moderator: Marissa to close post***
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Here's what I think your scenario is. Please revise if this is not accurate:
1) You have one work object W that was created from flow F1 and is now on assignment A1 . This flow F1 is the one you refer to as the parent flow.
2) The user is in the perform harness on assignment A1 on F1 and submits a flow action that launches flow F2 which creates assignment A2. This F2 is what you call the independent flow.
3) The user then submits another flow action also performed on F1 that attempts to resolve both flows F1 and F2 and your issue is that flow F2 is not getting resolved and assignment A2 is still existent ?
I have a similar use case in my system and the way to move the assignment in another flow associated with the same WO ( which is your case ) is to call the activity "ResumeFlow" with the flowName and flowAction as params to it.
This way you can make the childflow ( F2 ) move forward to the completion step.