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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Action 'Set_variable' ...
Power Automate
Answered

Action 'Set_variable' failed

(0) ShareShare
ReportReport
Posted on by 988 Super User 2024 Season 1

My Switch case for choice failed with the error,

 

DeviKrishna_0-1640019905572.png

 

The choice values seems to be correct. Has anyone faced this issue?

 

Regards

Devi

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @DeviKrishna 

    Please post a screen shot of your Flow in design/edit mode.

  • Devikumari Krishna Profile Picture
    988 Super User 2024 Season 1 on at

    Hi @ScottShearer ,

     

    Please find below the screen shot of my flows.

    I am trying switch case for updating my choice field. I keep getting the error as described above.

    Everything looks fine but.

    DeviKrishna_0-1640048500762.png

     

    DeviKrishna_1-1640048568256.png

     

    Regards

    Devi

     

  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @DeviKrishna 

    What type of variable did you initialize?

     

  • Devikumari Krishna Profile Picture
    988 Super User 2024 Season 1 on at

    Hi @ScottShearer ,

     

    I tried to initialize an integer variable.

     

    Regards

    Devi

  • Verified answer
    Devikumari Krishna Profile Picture
    988 Super User 2024 Season 1 on at

    Hi All,

     

    The issue is now resolved.

    I tried to recreate the flow from the beginning and it worked fine. 

    Data verse Basics #5 - Create data in data verse from excel sheet using Power Automate - YouTube

     

     

    Regards

    Devikumari K

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 Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 550

#2
Valantis Profile Picture

Valantis 390

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard