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

Impossible to display formated pySLADeadline on the workbasket

SA-35470

Summary



By default, the list source of the workbasket widget in PEGA is a DataPage which loads Assign-Workbasket elements.

User tried to display the Work deadline instead of task deadline by modifying the report used by the data page and the section in order to display it.

User gets the below error:

Error Messages



.pxPages(TC).pySLADeadline doesn't exist or is not a valid entry for this ruleset and its prerequisites.



Steps to Reproduce

  1. Customize the standard report "pyGetWorkBasket" in order to had a join class (work object).
  2. Add the pySLADeadline property in the report.
  3. Try to diplay the pySLADeadline property as a Date time with a specific format in the section "pyWorkListWidgetGridsAuto".
  4. Try to save, an error.appears.

Root Cause



The issue is due to incorrect configuration of pages and classes for page name D_WorkBasket.pxResults(1).pxPages(TC)
and in grid configuration incorrect access of pySLADeadline property D_WorkBasket.pxResults(1).pxPages(TC).pySLADeadline.

Resolution



Below are the changes required to access pySLADeadline property:

1. In the Pages & Classes, use the below configuration.
  • Page name: Class name:
  • D_WorkBasket.pxResults.pxPages() GCS-testGCS-Work-TestCase


2. For SLA Deadline column in grid configuration, access the property using .pxPages(TC).pySLADeadline and select control to format Date time and
select Date-time format.





Published April 26, 2017 - 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