Skip to main content


Using business logic to drive user experience

Suggest edit Updated on December 1, 2021
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

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.

Did you find this content helpful? YesNo

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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