Posted: 28 Sep 2016 17:10 EDT Last activity: 9 Oct 2016 0:40 EDT
Create an case within interaction using activity
Hi. We are using pega 7.2. We are using CS 7.1.4 framework.
My requirement is to create a case of E- type inside interaction case of I- type. When I open the interaction from mycases, it should take me to the customer 360 view.
I created an activity which creates I- Case. I used pxCreateTopCase with class of Interaction-Call. The step page is Interactionpage. Fetching customer detials and did an obj save of interaction class. Next using createWorkPage i created another case of E- type and set the required parameters. The page name used is ESRPage Then did an obj-save. So when i open E- type case, I am able to see the parentID, I-, in it. But when i open that Interaction, its not landing on 360 view. Its on search customer page which should actually be skipped.
What i observed is, the search customer page is actually expecting parameters from pyworkpage. Hence in my activity, at the last step, i copied whole data into pyworkpage and did obj-save. Now, when I open the interaction, the pyworkpage is getting overridden and values are lost. As a result i m not able to proceed further.
Please give some inputs of acheiving my requirements. If anything is not clear, i m happy to explain again.
Thanks in advance.
***Updated by Moderator: Vidyaranjan. Removed user added #helpme and Ask the Expert tags. Apologies for confusion, shouldn't have been an end-user option***