Salesforce

Engine Execution Rules (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Engine Execution Rules (Magic xpa 4.x)

Brief Overview

The following table summarizes the Magic xpa logic unit triggers, execution rules, and the order in which the logic units are executed in interactive tasks.

Logic Unit

Logic Unit Trigger

Next Logic Unit

The Next Logic Unit Executes If:

Else, Execute

Task Prefix

A task is executed

Record Prefix

There is at least one record in the data view

Task Suffix

Record Prefix

A record is fetched

Control Prefix

This is an Online task or Rich Client task

Record Suffix

Control Prefix

The cursor parks on a control

Control Verification

No restrictions

Control Verification

Control editing is terminated or the cursor skips over the control

Control Suffix

No restrictions

Control Suffix

Control editing is terminated

Variable Change

The variable value is changed

Record Suffix

Variable Change

A variable value is changed

Record Suffix

The record is about to be saved in an Online task or Rich Client task

Task Suffix

Record Suffix

A record is about to be saved

Task Suffix

No restrictions

Task Suffix

A task is about to be terminated

  • The above table demonstrates only one execution cycle for each logic unit. If the record or the control cycle is not terminated, that cycle will be repeated (from its Prefix logic unit to its Suffix logic unit).

  • A Control logic unit can only be executed inside a Record logic unit cycle, and a Record logic unit can only be executed inside a Task logic unit.

  • A parent logic unit cannot be terminated unless its sub-logic unit is terminated.

For more detailed explanations about each part in this process, see:

Related Topics

Reference
Attachment 
Attachment