Question
Veterans Affairs
US
Last activity: 30 Mar 2016 13:31 EDT
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.