Wojciech Lazowski (lazow)
Sr. System Architect
Pegasystems Inc.
lazow Member since 2016 1 post
Posted: January 15, 2019
Last activity: February 4, 2019
Posted: 15 Jan 2019 18:57 EST
Last activity: 4 Feb 2019 3:19 EST

Issue with duplicate case after resolve of child case


I'm working on Pega 7.2.1 and I have following scenario to implement

I have a "Contract" case which have a child case "Recycle". In a flow I have to create child case and based of the option chosen by the user process the parent case in two different ways. First option is to restart previous "Contract" stage and the second one is to Cancel current Contract case and creates its duplicate.

1st scenario works fine but I have problems with the second one.

I used OOTB shape to create child case, then wait shape to wait for resolved child, decision shape to choose path (user option from child case) and - duplicate (copyWork activity) and change stag shape to complete case in "cancelled" stage.

I got two main problems with this approche:

1. I got locking issue - child case loose its lock and cannot be saved - it ends unresolved even if was resolved during the flow processing (wait shape resumes the flow)

2. duplicated contract is created as child of original contract instead of it's sibling.

Any idea how i can resolve this?

Pega Platform Case Management
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.