Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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:

 
  • grantjenkins Profile Picture
    11,059 Super User 2025 Season 1 on at
    Re: Control Condition not outputting negative output

    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

     

  • rwilson1 Profile Picture
    2 on at
    Re: Control Condition not outputting negative output

    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?

  • Ajinder31 Profile Picture
    530 on at
    Re: Control Condition not outputting negative output

    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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow