Salesforce

Event Handling in Magic xpa (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Event Handling in Magic xpa (Magic xpa 4.x)

Magic xpa lets you define the Magic xpa logic as a response to implicit and explicit events that may occur during the execution of a task.

The following are terms for the event-driven engine:

  • Event – An event is a logical definition of an occurrence. An event can be handled by an event handler to perform a flow of operations.

  • Trigger – An event can be assigned as a trigger of another user-defined event. When the triggering event is raised, it triggers the user-defined event.

  • Handler – A set of operations designated to be performed when a specified event is raised.

An event can have more than one trigger and more than one handler. Each trigger can raise the event in a different scenario. One or more handlers can handle the event for each scenario.

Magic xpa events can be project-related events, which are defined in the Main program and are applied to the whole project. These events can be triggered during the execution of any of the project's programs. The events can also be task-related events, which are defined in a specific task and are applied to the task in which they are defined or to the task and its subtasks.

Related Topics

Reference
Attachment 
Attachment