Issue with Reopening WorkObject
Hi All, We had a requirement of keeping Reopening of Case as a local action on an assignment where status would be Pending-Resolved-Withdrawn.so when user completes the local action of Reopen workobject..Flow should again start from the point/assignment where User at first withdrawn the case. To accomplish this,I was trying to store the flowname when user is withdrawing the episode and passing it as parameter in ReopenWorkObject OOtb pega activity at Reopen case local action. Now the issue is that particular flow is running an assigment related to that flow is getting created.but post completion of assignments in the flow that was restarted.It is ending, and thereby the next flow that should run post completion of the assignment is not happening.Environment is pega6. one way is we can use tickets.but suggest me if i can use any other pega OOTB API to achieve this.
***Edited by Moderator Marissa to update categories***
**Moderation Team has archived 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.
I'm not sure if I completely follow. Are you saying that you want to reopen the item and put it exactly into the call stack where it was? I'm not aware of a specific API that does this for you. For that to happen, you will need to reconstruct pxFlow in its entirety. I'm not sure if you can just copy it off before resolving the case and then move it back when you reopen? You'd still need to create all the necessary assignments, but at least the stack would unwind correctly. If that doesn't work things will probably need to get a bit more complicated and yes, tickets could be helpful. The specifics would really depend on the complexity of your application and business needs.
Keep up to date on this post and subscribe to comments