cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Patron
Post Patron

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
Highlighted
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
New Member

I have the same question.  

Highlighted
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

Highlighted

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.
 
Highlighted

hi @Tcaban,

Remove the @  the new format no longer needs it. 

 

HTH,

Joe

Highlighted

Thank you Joe !  That did the trick.

Highlighted
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

Highlighted
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.

Highlighted

Thank you Alice!

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

Proud to be a Flownaut!


Highlighted

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

Highlighted
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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Users online (10,154)