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
Solved! Go to Solution.
I have the same question.
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:
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')))
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:
Thank you Joe ! That did the trick.
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.
Proud to be a Flownaut!
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
Thanks as always @joef - #Kudos to you!
Proud to be a Flownaut!
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
19 | |
12 | |
9 | |
8 | |
4 |
User | Count |
---|---|
25 | |
15 | |
12 | |
12 | |
10 |