cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
joef
Level 8

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
Super User
Super User

Re: What happened to Flow condition????

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
Level: Power Up

Re: What happened to Flow condition????

I have the same question.  

Power Automate Staff prabir
Power Automate Staff

Re: What happened to Flow condition????

 

 

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

Highlighted
Tcaban
Level: Power Up

Re: What happened to Flow condition????

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
Level 8

Re: What happened to Flow condition????

hi @Tcaban,

Remove the @  the new format no longer needs it. 

 

HTH,

Joe

Tcaban
Level: Power Up

Re: What happened to Flow condition????

Thank you Joe !  That did the trick.

Super User
Super User

Re: What happened to Flow condition????

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

Community Support Team
Community Support Team

Re: What happened to Flow condition????

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.

Super User
Super User

Re: What happened to Flow condition????

Thank you Alice!

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

Proud to be a Flownaut!


joef
Level 8

Re: What happened to Flow condition????

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

Super User
Super User

Re: What happened to Flow condition????

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
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users online (4,959)