Using business logic to drive user experience
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.
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.
- Defining conditions in the condition builder
Use the condition builder to create conditions that define the behavior of your application, or to use for propositions evaluated by a proposition filter. You can save custom conditions to the condition library for future use.
- 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.