Thursday, 29 December 2022

How to create a Picklist Mapping in MuleSoft Composer Flow for Salesforce

 Hi,

Using Picklist Mapping, you can map data from one application to the corresponding data needed by another application and then reuse those mappings in different flows in your organization. This enables you to connect two applications that have different values for similar fields and to align the values in those fields across applications. You can then determine how the possible values of an output field (data pill) map to the possible values of an input field.


For example, you can map a data pill from the Country field in a Salesforce record and provide the same values in the Country field of the NetSuite record.



COUNTRY (SALESFORCE)

COUNTRY (NETSUITE)

US

_unitedStates

CA

_canada

DE

_germany

AR

_argentina




When mapping source data fields:

  • The source field must be a data pill with a fixed list of values.
  • The target field must be an enumerated data type field.
  • If any other unmapped value from the source system is found, the default mapping specifies the value in the target system . If you do not specify a default value, the original value from the source field is passed to the target field.
  • The mapping is stored at the organization level and can be reused across flows.
  • The mapping must have a unique name.
  • Mappings are available to everyone in your organization.

To map source data fields to target fields:

  1. From the Composer Flows tab, open a flow and click Edit.
  2. In an action card, in a field that supports Pick from List, select Picklist Mapping from the drop-down menu.
    The Picklist Mapping window appears.
  3. In the Picklist Source section, in the Source field, select the value from the drop-down list that you want to map to the value in the Target field, and then click Next.
  4. In the Global Picklist Selection section, create a new picklist or choose an existing picklist.

Lets take an example to map Account object Billing Country to NetSuite Country. 
You can go through the following screenshots:




































































































































































































































































































































Reference:


What’s the difference between Einstein Article Recommendations and Suggested Articles?

How Does Einstein Article Recommendations Work? Einstein Article Recommendations helps support agents resolve customer cases efficiently by ...