Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Displaying all functions in the Expression Builder

Updated on August 10, 2022

Build advanced expressions that automate calculations in your application by displaying internal functions and libraries from your entire system in the Expression Builder. By default, the Expression Builder displays only non-internal libraries and functions. You can display all functions in the system by overriding the pyShowInternalLibrary When rule setting.

Internal functions are not displayed by default, because they are subject to change without notice. Use internal functions with caution. A function is internal if the pyMethodStatus property of the library that stores the function has the value of Internal. To check the pyMethodStatus property, view the XML or the clipboard page of the rule. For more information, see Viewing the XML of a rule and Using the Clipboard tool.
  1. In the navigation pane of Dev Studio, click Records.
  2. Expand the Decision category, and then click When.
  3. In the list of instances of When rules, click the pyShowInternalLibrary rule.
    Tip: To find the rule faster, you can filter the rules by name.
  4. In the rule form header, click Save as.
  5. On the Save As When: Show Internal Library form, in the Context section, in the Add to ruleset list, select your application ruleset and ruleset version.
  6. Click Create and open.
  7. On the Conditions tab, in the When... section, click false.
  8. Click ActionsEdit, as shown in the following figure:
    Editing the When rule
    pyShowInternalLibrary When rule form.
  9. In the Condition dialog box, enter true, and then click Submit.
  10. Click Save.
Result: When you author expressions in the Expression Builder, you can browse through all functions and libraries in the system.

Have a question? Get answers now.

Visit the Support 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.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us