Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Automate Your Business Processes
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Create and Manage Value Maps

          Create and Manage Value Maps

          Create, update, and delete value maps from the Global Flow Resources page to reuse mapping logic across flows.

          Required Editions

          View supported editions.
          This feature requires the MuleSoft for Flow: Integration add-on. Exceptions are segment-triggered flows, activation-triggered flows, and broadcast flows, which don't require the MuleSoft for Flow: Integration add-on. Professional Edition requires the API access add-on. To purchase an add-on, contact your Salesforce account executive.
          MuleSoft for Flow: Integration features used with Agentforce require the Foundations or Agentforce 1 edition. To purchase these editions, contact your Salesforce account executive.
          User Permissions Needed
          To create, view, edit, and delete MuleSoft for Flow: Integration connections: Manage Integration Connections
          To open, edit, create, activate or deactivate a flow using all flow types, elements, and features available in Flow Builder, including Einstein and Agentforce for Flow: Manage Flow
          To create and edit External System Change-Triggered flows in the Automation app, regardless of sharing settings:

          Manage Flow

          OR

          Create or Edit Flows

          AND

          • View Flows
          • View All Non-Admin Flows
          To create and edit External System Change-Triggered flows owned by or shared with you with Read/Write access in the Automation app:

          Create or Edit Flows

          AND

          View Flows

          To use MuleSoft for Flow: Integration templates:

          Create or Edit Flows

          OR

          View Flows

          To use MuleSoft for Flow: Integration templates as a non-System Admin: App Framework Manage Template

          Use the centralized Global Flow Resources page to manage value maps outside Flow Builder. All flows that reference a value map automatically reflect its updates. For limitations and considerations of value maps, see MuleSoft for Flow: Integration Limits & Considerations.

          1. Open the Automation app, and select Global Flow Resources.
          2. Click New, and select Value Map.
          3. Enter a label, API name, and an optional description. Then select a source data type and target data type.
          4. Add at least one source-to-target mapping entry.

            Provide a unique source value within the value map.

          5. Under Set Default Behavior, select how to handle unmapped source values.
            • Fail the flow
            • Pass through as an unmapped value
            • Define a default value
          6. Save the value map.
          7. Open the value map from the list, and update mappings in the details view.
            All dependent flows that reference this value map use the updated entry values.
          8. Open the Flows using Value Map related view, and inspect referenced flows.
          9. Open the value map, and click Delete.

            You can delete a value map only when no flows reference it.

          Use a Value Map in Transform

          Apply a value map in Transform to translate input values before writing them to a target field.

          Use this pattern when source and target systems use different value sets for the same business field.

          1. Open your flow in Flow Builder and select a connector action that uses field mapping in Transform.
          2. In field mapping, locate the target field that requires translated values.
          3. Switch the mapping input mode to Value Mapping.
          4. Select the source input that contains the value to translate.
          5. Select an existing value map, or create one if needed.
          6. Confirm the mapped output for the target field, and save your flow.
          7. Debug the flow and test mapped and unmapped source values.
            The flow returns values based on your value map entries and selected default behavior.

          If you update value map entries later, dependent flows that reference this value map use the latest entry values without requiring flow metadata changes.

           
          Loading
          Salesforce Help | Article