Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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

  1. Create assignments.
  2. Route them to the skilled workbasket. 
  3. 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.
Suggest Edit

Published September 20, 2018 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us