Salesforce

Deleting a Record (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Deleting a Record (Magic xpa 4.x)

When the initial mode of the task is Modify and the record is to be deleted, either by selecting the Delete Line from the Edit menu or by clicking F3, or by making the Force Record Delete condition True, the engine activates the following Delete procedure:

  • If the record has not been modified, Magic xpa executes the Record Suffix only once, in Delete mode.

  • If the record has been modified or the Force Record Suffix is True, Magic xpa executes the Record Suffix in Modify mode, to perform any Update operation defined there and complete the processing logic; and executes the Record Suffix a second time in Delete mode, to perform any delete-related operations, such as deleting chained records in one-to-many relations, or Update operations by using the Incremental mode.

  • For Batch tasks, Magic xpa executes the Record Suffix only once, in the Delete mode.

  • For non-interactive Rich Client tasks, Magic xpa executes the Record Suffix in Modify mode and then in Delete mode. (This is because non-interactive Rich Client task always run as if Force Record Suffix is True.)

Reference
Attachment 
Attachment