Salesforce

How Magic xpa Executes Group Levels (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Magic xpa Executes Group Levels (Magic xpa 3.x)

The following displays the execution of the logic units:

  • Task Prefix

  • Group Prefix (for the first record or when the group's variable value is changed)

    • Record Prefix

    • Record Suffix

  • Group Suffix

  • Task Suffix

When the execution of a Batch task starts, the Task Prefix is executed. Then the first data view record causes the prefixes of all Group levels to be executed, from the highest to lowest, ending with the Group Prefix of the lowest level. Until a change is encountered, the Record Suffix operations are executed for each record.

A change condition may be encountered at any Group level. The first change causes all Group Suffixes, from the lowest level up to the changed level, to be executed for the block of records already processed. Next, the Prefixes of all Group levels are executed, from the changed level down to the lowest level for the block of records to be processed.

Then the next block of data view records is processed at the Record level until the next change, and so on until all records have been processed. Finally, when an end condition is encountered, either at the end of all data view records or when the End Task expression becomes True (see the Task Properties dialog box for more information), it is treated as the equivalent of the highest Group level, causing only the Suffixes of all Group levels from the lowest to the highest levels to be executed for the block of records already processed. Only then is the Task Suffix executed.

Related Topics

Reference
Attachment 
Attachment