Salesforce

Propagation (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Propagation (Magic xpa 4.x)

You might want to prevent the runtime engine from continuing to search for additional handlers in the runtime tree once it has run a particular handler. You can do this by setting the Propagate property of the logic unit. The Propagate property of a logic unit is located in the property sheet.

If you set the property to No, the runtime engine stops scanning the runtime tree for additional handlers after executing the current handler’s operations. If you set the property to Yes, the runtime engine continues to search the runtime tree for additional handlers once it has run the current handler’s operations.

You can also set the Propagation property using an expression. The expression is evaluated when the execution of the handler is completed.

Tip:

You can create handlers that stop Internal event propagation to prevent the runtime engine from handling these events. For example, if you want to disable the Delete option and display a message when the user tries to delete, you can create a handler on the Delete Records Internal event with logic that displays the message, and then set the Propagation property to No.

Reference
Attachment 
Attachment