To update an exiting record of an entity in your eSpace, you can use the Update<Entity name> action.
If the entity has no primary key, the Update action is not available; you can only use the Create action.
Source: Record with the definition of the entity . The Source argument must be a Record that contains the definition of the Entity.
To create this record you can do one of the following:
If you are gathering the entity information from an edit record widget, simply use the Record runtime property of that widget. See more about Record widgets runtime properties.
You can create a local variable of the Record type that contains the entity definition and assign to each attribute of this record the suitable values.
If there are attributes of the record that don't have values assigned, the corresponding default values are used.
This function updates the row in the physical table that corresponds to the Identifier (available in the entity record). If the row does not exist, an exception is returned and the row is not updated. How to handle database exceptions?
A database exception might be raised when, for example, you are trying to update a record whose identifier does not exist, there are duplicated keys, etc.
Execute an Entity Action | Create Entities | Delete Entities | Get Entities | Handling Exceptions