Question

3
Replies
1030
Views
Anitha Pasham (SREEVIPASH)
Veterans Affairs

Veterans Affairs
US
SREEVIPASH Member since 2012 1 post
Veterans Affairs
Posted: March 25, 2016
Last activity: March 30, 2016
Posted: 25 Mar 2016 16:46 EDT
Last activity: 30 Mar 2016 13:31 EDT
Closed

Reversal of  Finish Assignment  and Get Next Work on an Action list.

 

The UI Action list we are using has 3 steps:

 

    • Run Activity
    • Finish Assignment
    • Get Next Work

When it sees a Finish Assignment on an Action list, pushes it to the end of the list, and ensures it will not fire until all of the other actions complete.

If FinishAssignment fires first, then the assignment would be removed from the workbasket, and GetNextWork would not find anything. But this is not happening when there is one (last)WorkObject in the WB it always getting the last WO again and again(Since GetNext calling first and then  FinisAssignment).

We saw in the Fiddler trace that because of the reversal of operations, GetNextWork finds the current work object when there are no more objects to be gotten because it is still on the list.

Please suggest the solution and customer is very clear on Submit and GetNext requirement.

Thank you in Advance.

Anitha.

Pega Customer Service User Experience
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.