Update record action can update fields in a record, as well as in other records referenced by any of its lookup fields.

You may select one or multiple fields to be updated at once.

Target value is a Twig template, so you may use static content, data placeholders and any other Twig code.

If you have other Workflows that depend on fields you're changing in this action so they need to be triggered after this action is executed, check the Re-evaluate workflow after field(s) change box.

Updating fields in a related record

One of the most powerful feature of Mapsly's Update record action is its ability to update fields in a related record referenced by the current record's lookup field.

To update such a field:

1- First select the lookup in the list of fields (lookup fields always come first and have the > sign at the end):

2- Then in the popup that will appear select the field from the related record that you'd like to update:

3- The selected field will appear after the lookup fields:

In this example, we're updating the Account Type field in the Account record referenced by the Contact's Account Name lookup field.

Determining which field to update at runtime

Mapsly also allows you to indicate at runtime the API name of field(s) to be updated, which is useful for example when using an Update record action in a cycle with unknown number of records at design time. To do this, select Custom in the Field selector and fill in the additional input field that will appear with the Twig template that will resolve into an API name at runtime:

(In this particular example, this Update record action can used in a Match-action block of a Match records action - to fill in lookups to the found clinics on a Patient record in a CRM that doesn't support Multi-Select Lookup fields.)

Did this answer your question?