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 / 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:

 
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

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard