ftos.data.update

IMPORTANT!  
Starting with v24.3.0, this is renamed from update to ftos.data.update.

Updates attribute values for a specific record.

IMPORTANT!  
If used in a workflow triggered by an update event of the same entity, infinite loops may occur. Consider using context.ExecutionDepth instead.

This is a data service method for business service components.

Syntax

Copy
function ftos.data.update(entityName : string, id : string, values : any): IFtosScriptableEbsExecutionContext;
 
Parameter Type Description
entityName string Name of the entity where you wish to update a record.
id string ID of the record you wish to update.
values any Name – value pairs of the record's updated attributes in JSON format.

Type Aliases

Return Value

Returns a IFtosScriptableEbsExecutionContext JSON object containing key – value pairs that describe the transaction.

Examples