Question

2
Replies
3632
Views
Vicio.Pi Member since 2016 16 posts
Accenture
Posted: September 5, 2017
Last activity: September 8, 2017
Closed

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:

  1. Click on the Take button
  2. On click event triggers this actions
    1. Set focus on current item
    2. Launch an activity which set the context and recalls the pxTransferAssignment, to transfer the assignment from workbasket to user’s worklist
    3. Open assignment (Key equals to .pzInsKey)
  3. 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***

Case Management
Moderation Team has archived post
Share this page LinkedIn