Support Article
Business Calendar functions are not shown in Expression Builder
SA-30556
Summary
The Business Calendar functions are not shown in the Expression Builder.
Error Messages
Not Applicable
Steps to Reproduce
- Open the Expression Builder in the precondition of an Activity.
- Observe that only six Pega internal libraries are shown in the list. Business Calendar is not included in the list.
Root Cause
An issue in the custom application code or rules:
This is the expected behavior.
Resolution
Here’s the explanation for the reported behavior:
In recent releases, the Expression Builder has been made light to simplify the list of available library/functions down to a simple, manageable level. It only shows a few of the Pega internal library/functions in the list.
However, to see the old, large list (like from PRPC 6.x), perform the following local change -
Make a private check out of the RULE-OBJ-WHEN @BASECLASS PYSHOWINTERNALLIBRARY and set it to always return true. This When condition is used in step five of RULE-OBJ-ACTIVITY @BASECLASS PZGETFUNCTIONSFORLIBRARY to filter out some of the internal libraries from the list.
Published November 24, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.