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 March 23, 2017 - Updated April 26, 2017

Have a question? Get answers now.

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