How to transfer an assignment from WB to WL directly from Portal
Hi all,
I need help to solve an issue faced while developing the solution mentioned in the subject.
Users open their dashboard and view the case inside workbaksets. Apart from columns populated with case info, we have added for each row a Take button to allow users to transfer an assignment to their worklist and contextually open it in perform.
This is how our solution for the Take button should work:
- Click on the Take button
- On click event triggers this actions
- Set focus on current item
- Launch an activity which set the context and recalls the pxTransferAssignment, to transfer the assignment from workbasket to user’s worklist
- Open assignment (Key equals to .pzInsKey)
- The case is opened in Perform harness
While steps 2.a and 2.b work without problems, the Open assignment is still referencing the old .pzInsKey (ASSIGN-WORKBASKET! Instead of ASSIGN-WORKLIST!).
Obviously the application tries to open the assignment and the error message
“Unable to open an instance using the given inputs: ASSIGN-WORKBASKET ABC-FW-XYZFW-WORK ID-170905-000021!VERIFICATION”
appears.
If we open in review the case we just see that it has just been routed correctly to the user’s worklist.
The question is: what do we have to change or set in our solution to ensure that “Open Assignment” action references the right (new) .pzInsKey?
Thank you very much,
Regards
Hi all,
I need help to solve an issue faced while developing the solution mentioned in the subject.
Users open their dashboard and view the case inside workbaksets. Apart from columns populated with case info, we have added for each row a Take button to allow users to transfer an assignment to their worklist and contextually open it in perform.
This is how our solution for the Take button should work:
- Click on the Take button
- On click event triggers this actions
- Set focus on current item
- Launch an activity which set the context and recalls the pxTransferAssignment, to transfer the assignment from workbasket to user’s worklist
- Open assignment (Key equals to .pzInsKey)
- The case is opened in Perform harness
While steps 2.a and 2.b work without problems, the Open assignment is still referencing the old .pzInsKey (ASSIGN-WORKBASKET! Instead of ASSIGN-WORKLIST!).
Obviously the application tries to open the assignment and the error message
“Unable to open an instance using the given inputs: ASSIGN-WORKBASKET ABC-FW-XYZFW-WORK ID-170905-000021!VERIFICATION”
appears.
If we open in review the case we just see that it has just been routed correctly to the user’s worklist.
The question is: what do we have to change or set in our solution to ensure that “Open Assignment” action references the right (new) .pzInsKey?
Thank you very much,
Regards
***Updated by moderator: Lochan to add Categories***