Salesforce

Raise Public Event Runtime Behavior (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Raise Public Event Runtime Behavior (Magic xpa 4.x)

When the Raise Public Event operation is executed, the expression defined for the operation is evaluated. The evaluated string is regarded as the public name of a user event. The public name is case sensitive.

Magic xpa automatically looks for a corresponding user event handler defined with the user event public name in the runtime tree for the current task of the task tree. Magic xpa searches for the handler from the current task up to the main program of the top project. The corresponding handler that is found will be executed.

No event will be executed when the Expose property is not selected or no corresponding handler is found for the host project.

After the first corresponding handler is found and executed, the Propagate property is selected. If the property is set to False, the handling of the event is completed. If the property is set to True, Magic xpa will propagate the user event. The Propagate property does not use the event’s public name but the reference to the actual user event as specified in the User Events repository.

Reference
Attachment 
Attachment