Salesforce

UDSUpdateField (Magic xpi 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

UDSUpdateField (Magic xpi 3.x)

This function updates a specific field in the UDS variable.

Syntax:

UDSUpdateField (Alpha udsvar, Alpha fieldname, Alpha fielddata, Alpha locatefieldname, Alpha locatefieldvalue, Alpha udsmodel)

Parameters:

udsvar

fieldname

fielddata

locatefieldname

locatefieldvalue

udsmodel

Returns:

0 if succeeded. The relevant error number if failed.

Example:

UDSUpdateField ('F.CustomerList','CustomerName','John Nash','CustomerID','15','StandardList')

Updates the customer name to 'John Nash' for the record in which the StandardList UDS model's F.CustomerList flow variable is CustomerID=15.

See also:

UDSClear, UDSDeleteRecord, UDSGet, UDSGetField, UDSSet

Since version:

V3

Reference
Attachment 
Attachment