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 / Control Condition not ...
Power Automate
Unanswered

Control Condition not outputting negative output

(0) ShareShare
ReportReport
Posted on by 2

Hi!

I'm making an onboarding tracker for a business and I'm having issues with updating data from a Sharepoint form to a Sharepoint List.

currently I've got it working so that the form content updates a matches list item (full name in Form matches with full name in List).

The issue I've got is that when I put in a false value, it's supposed to email me saying that adding the person failed but instead it does nothing!

any ideas on what I need to change for it to work?

Screenshots of the flow here:

 
screenshot2.png
screenshot1.png
Categories:
I have the same question (0)
  • Ajinder31 Profile Picture
    530 on at

    Hi @rwilson1 , Can you explain more how you put in a false value? I might be wrong but based on the flow screenshot it seems it will always be true as we're filtering Get Items only where EmployeeName eq FullName and doing the same condition inside Apply_to_each action.

  • rwilson1 Profile Picture
    2 on at

    I think the way I thought it would work is when the form is entered with a name that isnt included within the list that the fullname wouldnt match against the employeename and then output the negative result.

     

    Is that not whats happening here?

  • grantjenkins Profile Picture
    11,063 Moderator on at

    Your Get items will only return items if the query matches, so when there is no match the Apply to each won't execute.

     

    Directly after your Get items you can have a Condition to check the length of the result.

    • If the length is greater than 0 you can update the item and send the email saying updated.
    • If the length is 0 you can send the email saying no matches.

     

    The condition would use the following expression:

    length(outputs('Get_items')?['body/value'])

     

    The full flow.

    grantjenkins_1-1667630860171.png

     

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard