Salesforce

Block Else (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Block Else (Magic xpa 4.x)

The Block Else operation is an extension of the Block If operation.

The Block Else Statement does not have a corresponding End Block operation of its own because it is considered to be within the same logical block as the preceding Block If operation. You may define several Block Else operations as an extension of the same Block If operation.

When the Block If operation condition is met, the operations defined from the Block If operation to the first Else operation are executed, and the Magic xpa engine skips the remaining Block Else operations until the next End Block operation.

When the condition of the Block If operation is not met, the Magic xpa engine skips to the first Block Else operation and evaluates the condition. If the condition of the Block Else operation is met, the Magic xpa engine executes the Block Else operations until the next Block Else operation and skips to the End Block operation.

When the Block Else operation condition is not met, the Magic xpa engine skips to the next Block Else operation until all the Block Else operations have been evaluated.

Related Topics

Reference
Attachment 
Attachment