Salesforce

UDSDeleteRecord (Magic xpi 4.13)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

UDSDeleteRecord (Magic xpi 4.13)

This function deletes a specific record in the UDS variable based on the value of a specified field.

Syntax:

UDSDeleteRecord (Alpha udsvar, Alpha locatefieldname, Alpha locatefieldvalue, Alpha udsmodel)

Parameters:

udsvar

locatefieldname

locatefieldvalue

udsmodel

Returns:

0 if succeeded. The relevant error number if failed.

Example:

UDSDeleteRecord ('F.CustomerList','CustomerID','15','StandardList').

Deletes the record in the StandardList UDS model's F.CustomerList flow variable, where the value of the CustomerID field = 15.

See also:

UDSClear, UDSGet, UDSGetField, UDSSet, UDSUpdateField

Reference
Attachment 
Attachment