Salesforce

Variable Runtime Behavior (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Variable Runtime Behavior (Magic xpa 4.x)

After the variable value has been updated and the recomputation cycle completed, Magic xpa enters the Variable Change logic unit and executes the Variable Change event.

The variable can be updated by the Update operation, Init expression (or recompute of the Init expression), VarSet evaluation, Input form, parameter passing, return code, user interaction, and drag and drop. Cancel and Rollback does not cause the handler to be invoked.

Variable Values Before the Update

The value of the variable within the handler is the updated variable. The variable value before the recompute process is stored in the Chg_Prv_ parameter.

Order of Execution

When there is more than one Variable Change logic unit, the order of execution is determined by the entry order in the Data View Editor.

Control Change

For a control change, the Chg_Reason_ parameter is always 0. Moving between options within a Choice control causes the Variable Change event to be raised.

Related Topics

Reference
Attachment 
Attachment