Update Records Action
Last updated
Last updated
"Update Record" Action allows to change a record or a bunch of records.
Add an action Type=Create Record (1). See more info about creating Actions in Working with Actions article.
Select the object (2) which you are going to update record for.
Select fields you need to be updated (3).
Fill in value for each field. You can use Static values, Merge Fields or Formulas to populate values (see more info on Merge Fields and Formulas at Working with Context objects and Working with Functions).
Note: some records can have required fields and these fields can be empty (e.g, they became required later than records were created). In this case "Update Records" action must update these fields too, otherwise system will fail it.
Action modes are:
Standard mode shows field values corresponding to their data types (picklists, checkboxes, etc.)
Advanced mode shows all field values as text inputs to allow user to enter merge fields there.
Populate Conditions (4) that should be matched by records. If do not specify conditions, ALL available records will be updated in the same way.
Specify Conditions Logic (5) if needed.
Specify Limit (6) of records to update in one time. If set too big value, you may undergo system limitations.
Note: Salesforce automatically restrict number of bulk updates to 100 records, if do not set limits (6).
Iterator Name (7): you can set a variable (some word) which will be replaced with the value of the record updating cycle iterator. It's useful if you need to handle successful result of this action and refer to the index of iterations (10, see yellow highlights).
Execute in background (8): select it if you need to execute this action in other context than current user operation. See more info at Execute in background option. If check this option, the new field will appear:
With gap (9): by default it is 0, but can be set as an integer number of minutes. This field specifies interval before action execution.
Save the action. Now you can call it from Kanban and other places.