cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
joef
Continued Contributor
Continued Contributor

What happened to Flow condition????

HI All,

What happened to the complex conditions in FLOW?   

All I have now is the basic with an add button to add more basic conditions!

I create flows for when items are created or modified. 

I use a condition where modified = created for new items.  (And of course I have to convert to my timezone)

then I use complex conditions where I test for empty columns to send send out update alerts.

I can have 5 or more alerts sent in one FLOW. 

--New items go to a group

--updated items go to another group when some column is updated

--updated items go to other groups based on other updated columns. ... 

I tried to use the new basic "where sent to is not equal to" and I left the criteria blank, but that didnt work.  it sent even when the column was blank.

then I tried where not equal to '' also failed like leaving empty!

 

Can someone please tell me how to do the below in the new basic condition?

@and(not(empty(triggerBody()?['DateSent'])),not(empty(triggerBody()?['DateSentToTax'])),empty(triggerBody()?['DateSentTo']),empty(triggerBody()?['DateReviewedByTaxDept']))

 

Thanks,

Joe

1 ACCEPTED SOLUTION

Accepted Solutions
AlanPs1
Resident Rockstar
Resident Rockstar

Please check here or here for a solution.

"Enter your expression on the left side of the row. Then, select Equals to and enter true."

 

So what used to be:

 

Has now become:

If helpful, please mark with thumbs up.

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


View solution in original post

10 REPLIES 10
Tcaban
New Member

I have the same question.  

prabir
Power Automate
Power Automate

 

 

Please refer to the blog post if you would like to refer how to use the advanced mode with the same expression. 

https://preview.flow.microsoft.com/en-us/blog/build-more-powerful-conditions-in-flows-and-more/

 

Here are other alternatives:

 

Option 1:

Capture.PNG

 

 

Option2:

Use expression for left hand side (LHS) and right hand side (RHS)

LHS row 1: empty(body('Send_me_a_mobile_notification'))

LHS row 2 : not(empty(body('Send_me_a_mobile_notification')))

Capture3.PNG

Thanks for the quick reply Prabir.

 

I'm still running into an issue.  I am trying to use the following Expression in the LHS after a GetItems step is executed using a Sharepoint List:

 

@empty(body('Get_items')?['value'])
 
When I attempt to enter ths into the LHS as an Expression in the Condition Step shown below, I get an 'Invalid Expression' error.  (This is the expression that I had been using in the previous version of Flow, via the Advanced function.
 
joef
Continued Contributor
Continued Contributor

hi @Tcaban,

Remove the @  the new format no longer needs it. 

 

HTH,

Joe

Thank you Joe !  That did the trick.

AlanPs1
Resident Rockstar
Resident Rockstar

Please check here or here for a solution.

"Enter your expression on the left side of the row. Then, select Equals to and enter true."

 

So what used to be:

 

Has now become:

If helpful, please mark with thumbs up.

Thanks, Alan


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


View solution in original post

v-yuazh-msft
Community Support
Community Support

Hi @joef

 

You have marked your post as Solved on the same post below:

https://powerusers.microsoft.com/t5/Using-Flows/What-happened-to-conditions-in-FLOW/m-p/233965#M5523

 

If your problem has been solved, please mark this post as solved too.

 

Best regards,

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you Alice!

Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


joef
Continued Contributor
Continued Contributor

sorry this was such a quick and unexpected change, and I had to get this complete so I was able to move onto another project.  You may run into a few more, I had to get a quick answer.

 

Thanks for pointing this out.  I accepted this as answered.

 

Joe

AlanPs1
Resident Rockstar
Resident Rockstar

Thanks as always @joef - #Kudos to you!


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (896)