How to pass the value from child to parent case in Pega 8.5 using Activity
You can include the automation smart shape ‘Update a case’ in the flow of the child case to update the parent case. It calls the OOTB activity pzUpdateWrapper.
Parameters would be:
-
pyID - .pxCoverInsKey
-
Data transfrom - Create a data transform in parent class and map child class’ pyWorkPage property value to parent case context.
@SoumyadeepB1801 Thanks for the input. Can you please help me with activity steps as mentioned in Question.
From the smart shape ‘Update a case’ you can open the activity pzUpdateWrapper to check the steps. You can call this OOTB activity directly from your custom activity if required.
@SoumyadeepB1801 Thank you.