Skip to main content

Notifications

Dynamics 365 Community / Forums / Sales forum / Mapping a Multi-Select...
Sales forum
Answered

Mapping a Multi-Select Choice Field

Posted on by 144

Hello, 

We have a multiselect choice field called 'Risks' that gets filled in the Prospect Entity (Prospect Phase of the business flow). Once the prospect is qualified to Opportunity, all the fields are getting mapped correctly except for Risks. I read somewhere that this is because Multi-Select fields do not get mapped to different entities.

Please note that we have more entities/phases in the process flow after Opportunity: Prequalification -> Estimation (also called Quote by default)-> Awarded (also called Order by default). There are also Pipeline and Backlog.

In all of the entities above, it is crucial for Risks that is being filled in Prospect to be mapped to the "Risks" field of each entity.

If I cannot accomplish this by going to Advanced Settings > Customization, how can I achieve it by Javascript?

Thank you in advance.

  • Verified answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    RE: Mapping a Multi-Select Choice Field

    Hi Joseph,

    Yes, this is the limitation of multiselect choice field. 

    Refer to the following steps to use power automate to populate multi-select fields automatically:

    For example--Lead and Pipeline have 1:N relationship

    pastedimage1681097581231v7.png

    1) Build one automated flow in power apps:

    pastedimage1681094650873v1.png

    2)Trigger:

    pastedimage1681094843216v2.png

    3)Set condition to check lead value:

    pastedimage1681094881066v3.png

    4)Get lead's risks value:

    pastedimage1681094955067v4.png

    5)Update the pipleline:

    pastedimage1681095007691v5.png

    pastedimage1681095053044v6.png

    Or you can try to use javascript to set it:

    https://mscrmonline.wordpress.com/2022/05/01/javascript-to-copy-a-multiselect-option-set-choices-field/ 

  • RE: Mapping a Multi-Select Choice Field

    It’s a product limitation. Multi select optionset fields cannot be used in business rules and workflows. I am afraid you have to use power automate flow or a plugin to achieve this.

  • Joseph Nasr Profile Picture
    Joseph Nasr 144 on at
    RE: Mapping a Multi-Select Choice Field

    Hello Leah,

    Thank you for your solution! It worked in Mapping Risks from Prospect -> Opportunity -> Prequalification -> Estimation -> Awarded.

    The problem is with Pipeline as the Pipeline record is being created by a Process, not by mapping.

    missing-field.png

  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    RE: Mapping a Multi-Select Choice Field

    Hi Joseph,

    You need make sure that the 'Risks' multiselect choice field is global option set field:

    1) Creating one global option set

    pastedimage1680845974924v1.png

    2) Then you need create multiselect choice fields on each entities, select the existing option set you just created:

    --Lead(Prospect)

    pastedimage1680846143471v2.png

    --Opportunity:

    pastedimage1680846323061v3.png

    3)Mapping these fields:

    pastedimage1680846546273v5.png

    pastedimage1680846446939v4.png

    4)Save and ppublish all customization.

    5)Test:

    pastedimage1680847053555v6.png

    Qualify the lead to opportunity

    pastedimage1680847278945v7.png

Helpful resources

Quick Links

Dynamics 365 Community Update

Welcome to the inaugural Community Platform Update. As part of our commitment to…

Dynamics 365 Community Newsletter - August 2024

Catch up on the latest D365 Community news

Community Spotlight of the Month

Kudos to Mohana Yadav!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,115 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 227,971 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans