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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow Failing at Switch...
Power Automate
Unanswered

Flow Failing at Switch (SharePoint value?)

(0) ShareShare
ReportReport
Posted on by 326

Failed_Flow2.png

Flow_Failed_Switch.png

 

Hello, I wondered if anyone could enlighten me about why this flow might be failing. 

 

I am trying to use a switch to look up a column within a SharePoint list. I wondered if perhaps it couldn't read the number in the column so changed it so I edited this so that it returned a number and had the same issue (ActionFailed. An action failed. No dependent actions succeeded.)

 

Thank you. It's the last part of the flow that needs to work for testing to be complete!

 

 

Categories:
I have the same question (0)
  • wskinnermctc Profile Picture
    6,519 Moderator on at

    A Switch can only compare text/string

     

    If your absence count output is showing '1.00000000' and your Case is showing '1' then they will never equal.

     

    Your case would need to have '1.00000000' so that it will equal the value in the Switch.

     

    I would recommend trying to find something other than a number to use for the switch. 

  • Verified answer
    ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @cb23 

     

    Pls convert the decimal number to integer using int() function in an expression. Expression needs to be written in the expression box as shown below:

    ManishSolanki_0-1694616451979.png

    int(item()?['AbsenceCount1'])

    Pls retest after adding an expression.

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • cb23 Profile Picture
    326 on at

    Yay! This worked thank you you're a lifesaver!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard