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 / Flow Failing at Switch...
Power Automate
Answered

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!

 

 

Failed_Flow2.png
Flow_Failed_Switch.png
Categories:
  • 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
    Manish Solanki Profile Picture
    15,169 Moderator 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 430

#2
11manish Profile Picture

11manish 341 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 282

Last 30 days Overall leaderboard