Skip to main content

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

Using business logic to drive user experience

Updated on December 13, 2022
Applicable to Hybrid mode applications

Build an interface whose behavior changes depending on the needs of its users. By applying business logic to UI design, you can ensure that users see only the information that they need, and interact only with the functions that are relevant to them, which improves usability and saves time.

You can create a truly dynamic and interactive UI by associating actions with events. For example, you can decide that a tooltip appears when a user hovers over a piece of text, or that a click of a button refreshes a specific section of a page. You can use a wide range of out-of-the-box events and actions and configure a custom logic that governs the behavior of your applications' interface.

A configuration of a button that refreshes a section
A refresh action paired with a click event designed to refresh a specific section.

Discover more about setting up business logic in the following articles:

  • Creating a When rule

    Evaluate a Boolean logical statement that involves comparisons among values of properties, to return true or false, by creating a When rule.

  • Condition builder

    The condition builder helps you define conditions that specify when a UI action can be triggered. This editing tool helps you apply when rules and expressions.

  • Defining refresh conditions for UI areas

    Ensure that your users have access to relevant and up-to-date information by defining conditions that cause their UI to refresh.

  • Adding action sets to a layout

    Define how your users interact with a layout by creating an action set that links a user behavior to an action in the UI.

  • Available UI actions

    Pega Platform provides a wide variety of out-of-the-box behavior patterns (actions) that you can use to make a UI component more responsive and user-friendly.

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

Close Deprecation Notice
Contact us