Question
Commonwealth Bank Group
IN
Last activity: 22 Jun 2016 3:04 EDT
While using 'ReassignToWorkbasket' from the flow, the PyID is missing. The 'pxInsName' appears as '!'
Hi,
I am trying to route my newly created case to a default workbasket. While using 'ReassignToWorkbasket' from the flow, the PyID is missing.
The 'pxInsName' appears as '!'. Hence the 'pzInsKey' also appears as 'ASSIGN_WORKBASKET !' (Please refer the screen shot attached).
Entries to the pc_assign_Workbasket is happening, but without the pyID
Any suggestions ?
Regards,
Rashmi
Message was edited by: Marissa Rogers - added category
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
Hi Rashmi,
In the later versions of Pega 7, the RecalculateAndSave activity is not triggered until the first assignment shape in the flow. This is when the pzInsKey will be saved. It sounds like this may be why you do not see the pyID since you are calling the activity in a utility prior to the first assignment. It seems to me that you should be able to use the router on the assignment shapes in the parent and child flows to route to the desired workbasket. Maybe someone else will have more feedback since it seems I still do not fully understand the use case.
Carissa
Pegasystems Inc.
US
Hi Rashmi,
Is there a particular reason you are using ReassignToWorkbasket instead of specifying the workbasket routing on the assignment shape?
Carissa
Updated: 20 Jun 2016 0:57 EDT
Commonwealth Bank Group
IN
Hi Carissa,
My flow should create the parent case and go on to create the child case as well. (The child gets created in a spin off flow just after the routing of the parent - The routing of the is currently done with a utility shape with 'ReassignToWorkbasket') . I want route both of these to a common workbasket.
But having an assignment just before the spin off flow shape is not working as it not entering the spin off sub-process flow shape at all. So I used a utility with a 'ReassignToWorkbasket'. With this set up, everything is working fine. I can even see the AssignTo parameter being set and pxRouteTo property also being set. But I cant see any values in pc_assign_Workbasket table (linked to Assign-Workbasket class).
I can just see one entry with its .pxInsName as '!' and its .pzInsKey as ASSIGN-WORKBASKET ! and .pxObjClass as ASSIGN-WORKBASKET
Regards,
Rashmi
Accepted Solution
Pegasystems Inc.
US
Hi Rashmi,
In the later versions of Pega 7, the RecalculateAndSave activity is not triggered until the first assignment shape in the flow. This is when the pzInsKey will be saved. It sounds like this may be why you do not see the pyID since you are calling the activity in a utility prior to the first assignment. It seems to me that you should be able to use the router on the assignment shapes in the parent and child flows to route to the desired workbasket. Maybe someone else will have more feedback since it seems I still do not fully understand the use case.
Carissa
Commonwealth Bank Group
IN
Hi Carissa,
Thank you. This was really helpful !!!
Regards,
Rashmi
Pegasystems
US
You don't per chance have pyTemporaryObject asserted, do you? /Eric
Commonwealth Bank Group
IN
No Eric, They are permanent.
Not creating Temporary work objects.
Regards,
Rashmi