Salesforce

Mode Property (Mod) - Verify Operation (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Mode Property - Verify Operation (Magic xpa 4.x)

The available values for Mode are:

Warning – This is the default setting. Magic xpa beeps and displays the specified message, but does not stop the task’s execution. The user is free to ignore the message and continue if the message is displayed in the status bar. The message disappears as soon as the end user presses a key in the message line, or if it is displayed in a message box, the message disappears when the user clicks OK.

Error – After the message is confirmed, Magic xpa will behave according to the following rules:

If the Verify operation is used in the Control level of an Online or Rich Client interactive task:

  • Processing stops.

  • The insertion point parks on the handled control.

  • Magic xpa waits until the end user corrects the error.

If you used the Verify operation in the Record Suffix of an Online or Rich Client interactive task:

  • Processing stops.

  • The focus returns to the last visited parkable control of the current record on the form.

  • Magic xpa waits until the end user corrects the error.

If you used the Verify operation in the Record Suffix of a Batch or Rich Client non-interactive task:

  • Processing stops.

  • Magic xpa skips to the next record and awaits user input. Pressing any key except Esc restarts the task with the next record. Esc terminates the task. The message should instruct the user to correct the error before pressing any key except Esc. You can use this feature as a break point for debugging.

If you used the Verify operation in other non-interactive levels, such as Task Prefix or Suffix for all tasks, Group levels for Batch tasks, and Record Prefix for all tasks, processing stops and the execution of the level is aborted.

If you used the Verify operation in a handler defined in a parent task, the execution will not be aborted.

Revert – When a Verify Revert operation is executed, an error message box is displayed. The cursor returns to the handled control by executing the operations that precede the Verify operation in reverse order back to the first operation in the handler.

For a Block operation, the Verify Revert mode performs the Block operations in reverse order. For the Block While operation, the Verify Revert mode causes Magic xpa to exit the Block operation and perform the operations preceding the Block While operation in reverse order.

This mode is available for the following handlers:

  • User Events

  • System Events

  • Internal Events

  • Timer

  • Expression

  • Control Prefix

  • Control Suffix

  • Control Verification

The verify Revert operation is not available in Web Client tasks.

Related topics

Reference
Attachment 
Attachment