Home Search

DriveWorks Pro 19
Delete a Record in Salesforce

Send Feedback

Delete a Record in Salesforce

This Specification Macro Task deletes a record (or records) in Salesforce.

Properties

Property NameDescription
TitleChanges the Title (not the name) of the task.
Record IDProvide one ID or a pipebar delimited list of record ID's to be deleted from Salesforce.

Example

When this Task is added the properties are static. To be able to build rules on a static properties see How To: Change A Static Property To A Dynamic Property.

Property NameExample RuleMeaning
Record ID"0061t00000Fz0WUAAZ"The record ID to delete.
Record ID"0061t00000Fz0WUAAZ|01u1t000002XpBJAA0"The record ID's to delete.

Using the Task in a Specification Macro

This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.

Outputs are only available within Specification Macros. Currently Outputs are not available for Specification Flow.

Status Outputs

This task supports Status Outputs. These can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs in the Task Node Outputs section of Specification Macros Task Node.

The status output navigation is as follows:

Success

  • All requested records were successfully deleted.

Success with Warnings

  • N/A - should never be fulfilled.

Failed (one of the following occurred)

  • The record ID is empty or whitespace.
  • At least 1 of the requested records failed to delete. See the Specification report for details.