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



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.


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

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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