Skip to content
This repository was archived by the owner on May 12, 2023. It is now read-only.

Field Mappings

Doug Ayers edited this page Apr 14, 2022 · 5 revisions

Home > Field Mappings


Map source fields as inputs to the target action.

Field Mappings

Don't see the Source Field you're looking for?

  • Confirm the field is included in your data source.
  • Ensure that your user has read object and field permissions.
  • If using a Named Credential, ensure that user also has appropriate object and field permissions.
  • If using SOQL, alias the aggregate functions. Aggregate functions like COUNT, MIN, MAX, AVG, SUM and others must be aliased to be selectable in the Field Mappings step. For example, consider the query SELECT COUNT(Id) RecordCount, Type FROM Account GROUP BY Type. Without the RecordCount alias then only the Type field would be available on the Field Mappings step.
  • If using SOQL, child relationship queries are not shown in the Field Mappings step. For example, consider the query SELECT Id, Name, ( SELECT FirstName FROM Contacts ) FROM Account. The child relationship query SELECT FirstName FROM Contacts is ignored. Therefore, and for performance, do not use child relationship queries in your SELECT statement.

Don't see the Target Field you're looking for?

  • For Flows, ensure the variable's Availability Outside the Flow has Available for input selected.
  • For Quick Actions, ensure the field is on the action's layout.
  • For Invocable Apex, ensure the class variable has the @InvocableVariable annotation.
  • For Anonymous Apex, the field mappings step is not used. Instead, your script handles all field mapping and logic within its execute method.

Clone this wiki locally