Salesforce

Force Record Delete (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Force Record Delete (Magic xpa 3.x)

The Force Record Delete property allows you to delete records from the Task data view conditionally.

The Delete condition expression is evaluated before Magic xpa begins Record Suffix processing. If it evaluates to True, the row is deleted using the same mechanism as if the user had typed the Delete key, described below.

Delete Mechanism

If the row has been modified, or if the task is running in Batch, the Record Suffix is processed once with the task status 'Modify', in order to perform any update operation defined there and to complete the processing logic. The Record Suffix is then processed a second time with task status 'Delete', in order to perform any delete-related operations, such as deleting chained rows in one-to-many relations, or Update Var operations using the Incremental mode (see the Update Operation). If the row has not been modified, the Record Suffix is executed once only, with task status 'Delete.'

If with Force Record Delete you want to avoid the double-processing of specific Record Suffix operations, use the Stat function in the condition expression specified in the Condition column for those operations, as follows: Stat (0,'D'MODE)


Default: No

Relevant interfaces: Online, Batch, and Browser tasks

Reference
Attachment 
Attachment