Question
TCS
IN
Last activity: 10 Nov 2017 1:27 EST
Dynamic worklist routing not working for property reference
Hi All,
I want to route to operator worklist dynamically based on property reference. I have selected Operator in route of assignment and gave property reference of pworkpage where I store operator details. But its failing with invalid operatorID instance. I have checked in help article below which supports this options but still not working. Could any one help me to achieive this.
Help article:
https://community.pega.com/sites/default/files/help_v73/procomhelpmain.htm management/process-modeler/assignment/cm-routing-an-assignment-to-worklist-tsk.htm
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
TCS
IN
Hi All,
Thanks for your help I found Answer for this. Below are the details.
1. In route to select Custom.
2. Select worklist in routing and select OOTB activity ToWorklist
3. Supply variable name as input to this activity.
This is working.
Pegasystems Inc.
US
Hi Gopal,
Could you please share the configuration screenshots at your end along with the tracer log if you can.
Regards
Mahesh
TCS
IN
hi Mahesh,
PFA screen shots for details
-
Sri Pramada Tangirala
Pegasystems Inc.
US
Hi Gopal,
I had tried a sample use case to implement the dynamic worklist routing with the help of a property reference which holds pyUserIdentifier value. Kindly go through the attachment and have a try.
Hope it will resolve your issue.
Regards
Mahesh
Pegasystems Inc.
IN
I think Route to operator dynamically is being attempted instead of work List which does not work.
Pegasystems Inc.
US
@Ujjwal, If you look into the attachments shared by Gopal above he is using Route to Operator and trying to provide the operator user identifier value dynamically through the property. By the way i had not tried with the Route to Custom>Worklist way to confirm you whether it will work that way or not.
Pegasystems Inc.
IN
Hi Gopal,
From the error it could be seen that literal/static value is taken directly in case of Operator (pyWorkPage.Property) as in your case.
On further analysis we could see that in AddAssign activity at step 4 for 7.3 there is obj open step
and handle given is newAssignPage.pxAssignedOperatorID.
As the value is literal we get this error.
Work Around :- If you can manage to set newAssignPage.pxAssignedOperatorID = pyWorkPage.OperatorProperty, It should work for you.
Regards,
Ujjwal
Accepted Solution
TCS
IN
Hi All,
Thanks for your help I found Answer for this. Below are the details.
1. In route to select Custom.
2. Select worklist in routing and select OOTB activity ToWorklist
3. Supply variable name as input to this activity.
This is working.