Support Article
GetNextWork functionality not Working
SA-64904
Summary
When creating an assignment, Declare-Index(RequiredSkills) for .pxSkillsRequired is not initiated.
Error Messages
Not Applicable
Steps to Reproduce
- Create assignments.
- Route them to the skilled workbasket.
- Perform GetNextWork. The assignments are not visible to the operator despite having the required skills.
Root Cause
A defect or configuration issue in the operating environment.
The Index table for pxSkillsRequired is not populated for a few workbasket records. The Index-AssignmentSkills records are required to compare the operator skills with the assignment skills during getNextWork.
Resolution
Perform the following local-change:
Follow the below step to force re-indexing on commit even if no tracked properties are changed.
Add the @baseclass.pzReindex property with a value of True to the page containing the object before saving and committing the object.
This causes the system to skip Change tracking and recompute indexes for this object from the beginning.
For this use case, in the newAssignPage, set pzReindex to true for Assign-WorkBasket.
Published September 20, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.