Type identifier:
object:updateCategory: Object Operations
Updates an existing Record with new values, modifying only the specified properties and preserving unchanged data. Handles file uploads automatically when properties contain files.
Handle | Data Type | Required | Description |
|---|---|---|---|
|
| Yes | Initiates the update operation |
|
| Yes | Record ID to update |
| Varies | Varies | One handle per selected property |
idstring (CUID2 format)Notes:
id property (extracts the ID)Input handles are dynamically generated based on selectedProperties:
name, address.city)Handle | Data Type | Description |
|---|---|---|
|
| Triggered when update succeeds |
|
| Triggered on any error |
|
| The updated Record with metadata |
objectIncludes:
id: Record IDschemaId: Schema IDcreatedAt: Original creation timestampcreatedById: Original creator IDupdatedAt: Update timestampupdatedById: Current user or Flow IDProperty | Type | Required | Default | Description |
|---|---|---|---|---|
|
| Yes |
| Display label for the node |
|
| Yes |
| CUID2 of the Schema to update |
|
| Yes |
| Paths to properties to update |
schemaIdstring (CUID2)Notes:
selectedPropertiesstring[][] (array of path arrays)Notes:
Operation | Behaviour |
|---|---|
Modify property | Replaces value at path |
Set to | Clears the property value |
Nested property | Updates specific nested field only |
Files in updated properties are uploaded when the update runs. Existing files from the same Record are preserved, and files from the Flow run are re-uploaded to the Record.
For selected-property inputs, Schema validation reports all invalid values together. The failure includes each property path and issue code, plus the expected type when available; the run inspector displays these without input values.
Scenario | Behaviour |
|---|---|
Schema not found | Triggers |
Record ID missing | Triggers |
Invalid Record ID format | Triggers |
Record not found | Triggers |
Invalid data for the Schema | Triggers |
Database update fails | Triggers |
{
"type": "object:update",
"data": {
"label": "Update User Status",
"schemaId": "user-schema-uuid",
"selectedProperties": [["status"], ["lastLoginAt"]]
}
}Updates only status and lastLoginAt fields on the user Record.
{
"type": "object:update",
"data": {
"label": "Update Address",
"schemaId": "contact-schema-uuid",
"selectedProperties": [
["address", "street"],
["address", "city"],
["address", "zipCode"]
]
}
}Updates specific address fields while preserving other Record data.
{
"type": "object:update",
"data": {
"label": "Update Document",
"schemaId": "document-schema-uuid",
"selectedProperties": [["file"], ["processedAt"]]
}
}Uploads the new file and updates the Record reference.