web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

How to add a switch case on flow?

(0) ShareShare
ReportReport
Posted on by 65

Hi, 

I have 2 environments. I want to create record in Env 2 when we create record in Env 1. One of the field is option set which is copying incorrectly because of different values? 

For example: 

ENV-1

fieldName - Fruit Type 

Apple, Value = 1

Banana, Value = 2

Mango, Value = 3

ENV-2

fieldName - Fruit Type 

Apple, Value = 4

Banana, Value = 2

Mango, Value = 3

 

How do I use a switch case to change the value so that flow copies Apple from Env-1 to Env-2?

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Hi Prajwal,

    Maybe you can change value of the Apple option directly in the Env 2, then you can leave this flow unchanged

    Go Settings > Customizations > Customize the system > entities > the entity you need > Fields to open the option set field:

    pastedimage1663558815374v3.png

    pastedimage1663558772240v2.png

    Or you can add one condition to check the value of the option set from Env 1, if the value is 1(Apple), then set  value=4 in the next action.

    Maybe you can provide screenshot about your flow, then i can know where to add the condition step.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 81

#3
ManoVerse Profile Picture

ManoVerse 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans