To create a new record of an entity in your eSpace, you can use the Create<Entity name> action or the CreateOrUpdate<Entity name> 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 a 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 type Record with 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 null values are used.
Id: Identifier for the record created. The Id argument is of type <Entity> Identifier.
See how to access the output parameters.
If the entity has no primary key, no output argument is returned.
This function inserts a new row in the physical table that corresponds to the Entity. If the Identifier of the entity is of type:
A database exception might be raised when, for example you have duplicated keys, the value assigned to the entity attribute does not fit the size of the database column, etc.
Execute an Entity Action | Create Entities | Update Entities | Delete Entities | Get Entities | Handle Exceptions