Order of Events:
A user clicks the button.
The system applies a data transform.
The order ID value is set to the value of the confirmation number if the system confirms the payment.
The system refreshes the section.
A user clicks the button.
Explanation: The event sequence starts when the user interacts with the button by clicking it. This is the trigger for the subsequent actions.
[: Pega Platform Business Architect Essentials, Chapter on User Interface., The system applies a data transform., Explanation: After the button click, the specified data transform (SetDefaultValues) is executed. Data transforms are used to manipulate data, such as setting default values or copying data from one location to another., Reference: Pega Platform Business Architect Essentials, Chapter on Data Transforms., The order ID value is set to the value of the confirmation number if the system confirms the payment., Explanation: Following the data transform, the system checks the condition (When Rule: PaymentConfirmed). If this condition is true, the system sets the .Order.OrderID property to the .ConfirmationNumber value., Reference: Pega Platform Business Architect Essentials, Chapter on Conditional Processing., The system refreshes the section., Explanation: Finally, the section is refreshed to reflect any changes made during the previous steps. This ensures the user interface is updated with the latest data., Reference: Pega Platform Business Architect Essentials, Chapter on User Interface and Dynamic UI Updates., , , ]
Submit