GetNextWork functionality not Working
When creating an assignment, Declare-Index(RequiredSkills) for .pxSkillsRequired is not initiated.
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.
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.
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.