Update Records (Advanced)
Overview
This action allows records to be updated while also setting advanced DML Options.
This action respects user permissions for Field Level Security and Object Level Security.
This action should only be used if the advanced functionality of setting DML Options is required, such as running assignment rules or allowing Field Truncation. Otherwise, it is recommended to use the standard Update Record action in Flows.
Inputs
Record
A single record that is updated.
Type |
---|
Record |
Records
A collection of records that are updated.
Type |
---|
Record Collection |
Allow Field Truncation
Setting this value to true
allows field values that are too long to be trimmed upon update instead of failing.
Type |
---|
Boolean |
Allow Duplicates
Setting this value to true
bypasses Duplicate Rules and allows duplicate records to be updated.
Type |
---|
Boolean |
Run Default Assignment Rule
Setting this value to true
runs the default assignment rules for the updated object.
Type |
---|
Boolean |
Assignment Rule to Run
Specify what Assignment Rule to run. Query this record in a previous step of the Flow to use here.
Type |
---|
Assignment Rule Record |
Send Auto Response Emails
Setting this value to true
triggers auto-response rules for leads and cases. This email can be automatically triggered by creating, editing, or deleting a contact for a case.
Type |
---|
Boolean |
Send User Emails
Setting this value to true
triggers email that is sent to users in the organization. This email can be automatically triggered by a number of events; resetting a password, creating a new user, or creating or modifying a task.
Type |
---|
Boolean |
Send Other Emails
Setting this value to true
triggers email that is sent to users in the organization. This email can be automatically triggered by creating, editing, or deleting a contact for a case.
Type |
---|
Boolean |
Locale
Specifies the language of any labels that are returned. The value must be a valid user locale (language and country), such as de_DE or en_GB.
Type |
---|
Boolean |
External ID Lookup Field Mappings
Set field mappings that enable lookup fields to be automatically set based on External ID fields in related objects. The format is a CSV of Lookup API Field Name:Related Object External ID API Field Name
.
For example, let's say there is an Account record with an External_ID__c field containing a value of NS-1234
. If you are inserting Contact records you can set the AccountId field
to NS-1234
on the Contact and pass in the following value to this configuration input.
AccountId:External_ID__c
Upon record update, the AccountId lookup field on the Contact will automatically point to the Account with the value of NS-1234
in the External_ID__c field.
Type |
---|
Text |
Outputs
Record
The single record after update. Formula field values re-recalucate in this output.
Type | Variable Name |
---|---|
Record | record |
Records
The record collection after update. Formula field values re-recalucate in this output.
Type | Variable Name |
---|---|
Record Collection | records |