In an assignment of Case ‘A’ on click of a button, A modal dialog box captures some field inputs from user. On submission of this modal dialog, A Case ‘B’ is created through post processing activity configured in the Flow action of the referenced local action. However as soon as the modal dialog box is submitted, Case ‘B’ assignment is displayed replacing that of Case A.
Is there a way to override this default behaviour, so that the Case A is resumed on submitting this modal dialog?
*Please note that the cases do not share a parent child relationship.
If you use NewCovered activity, pega open automatically the new case. You can use pxAddChildCase with commit option so that pega create the case without opening it. you can add a link on the pyID of your new case and then you can open your case or your assignment depending on your need.
Thanks for the reply. In this requirement, the case being created is independent (So cannot do parent child configuration). I am using create workpage activity followed by addwork (Work-) activity.
@ayusha90 If the newly created case id is not required for the current case then we can make use of background processing. You can follow the steps in the screenshot below
If newly created case id/data is needed in the current case then can you check these things in your current case creation activity
The workpage for the new case should not be pyWorkPage , name it as TmpWorkPage
Take a backup of the newAssignPage before calling addwork or svcaddwork into a temporary page and at the end copy back the temporary page into newAssignPage