cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kale99
Regular Visitor

Unable to see "edit in advance mode " under flow conditions

as mentioned in the title, do not have the option to edit conditions in advance mode in my microsoft flows builder. 

 

illustration.PNG

does it have anything to do with permissions access? or is there an updated way to access the advance mode ? 

29 REPLIES 29
SCTdan
Continued Contributor
Continued Contributor

That makes sense.  Instead of true/false being returned by the function itself in the old advanced editor, you're just explictly stating it now.  The same functions you could use in the old advanced editor just go into the value field in the new editor.

AlanPs1
Resident Rockstar
Resident Rockstar

Exactly @SCTdan

 

I created this forum post and a blog on the matter as there is lot's of content out there utilising an expression for the condition.

If trying to implement these since yesterday's changes confusion arises. It took someone implementing one of my processes to draw it to my attention so thought best share the work around.

 

The more people who become aware of this the better really

 

Smiley Happy

 

 


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

Proud to be a Flownaut!


v-yamao-msft
Community Support
Community Support

Hi @kale99,

 

Previously, we could select Edit in advanced mode then then enter the expressions in a text box. Now, there is no longer an Edit in advanced mode, instead if you want a very complex expression you can use the regular dynamic content expression builder to enter your expression on the left side of the row, then select Equals to and enter true in the right side.

1.PNG

The following blog on Advanced condition builder for your reference:

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

 

Best regards,

Mabel

 

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

View solution in original post

v-yamao-msft
Community Support
Community Support

 

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
AtifMir
Frequent Visitor

Brilliant, your solution fixed my issue straight away. 

I am REALLY hoping someone can help me out.

What started this journey to advanced conditions is that I was running into a problem where Flow was telling me that it was unable to process template language expressions (https://powerusers.microsoft.com/t5/I-Found-A-Bug/Unable-to-process-template-language-expressions-in... )

All I'm really trying to do is use the value of a cell (Excel table) in my condition logic. It worked once when I wrapped my value in ' ' but for some reason didn't work for the other threshold I added in the no branch. Thus, I pivoted to Advanced edit. 

This is what I have so far, but the error message I get back here is a generic 'Invalid Response'

 

The syntax I'm (trying) to use are the following

less(float( body('Get_a_Row')?['output'] ),3)

less(float( body('Get_a_Row')?['output'] ),6)

greater(float( body('Get_a_Row')?['output'] ),6)

 

I linked the aforementioned screenshots of the error message & then the structure of my flow. Trying to use the output of 'Get Rows' for the condition

screenshots 

justinc6013
Frequent Visitor

How can I do this code without edit conditions? Trying to send a remind email after 14 days.

 

@equals(formatDateTime(item()?['Nextauditdue'], 'MM/dd/yyyy'), formatDateTime(addDays(utcNow(), 14), 'MM/dd/yyyy'))

 

Have you tried this?

 

trythis.png

I've tried but I need the one side to have my desired date which comes from SharePoint.

 

Example of what I'm looking for:  Send an email to *** after 11 months from the subscribed date.

 

I can not at all see how to do this with the Condition

This:

@equals(formatDateTime(item()?['Nextauditdue'], 'MM/dd/yyyy'), formatDateTime(addDays(utcNow(), 14), 'MM/dd/yyyy'))  

 Is exactly this:

trythis.png

 I just broke your @equals( ... )  into two expressions:

  • formatDateTime(item()?['Nextauditdue'], 'MM/dd/yyyy')
  • formatDateTime(addDays(utcNow(), 14), 'MM/dd/yyyy')

Pasted each expression in the left / right argument fields of the condition action, and finally selected (the default) "is equal to" comparison option.

 

Looking closer at your code though; you're comparing some static date from your SharePoint list ( item()?['Nextauditdue'] ) to today + 14days ( addDays(utcNow(), 14) )... Why ?

 

If all you want to do is send an e-mail after 11 months of some date, why don't you use the "Delay until" action?

 

try_delay.png

 

If you want to make it recurrent, nest the "delay" action inside a "Do until" loop? Often times there are multiple solutions to a problem, maybe I'm missing something... Anyway good luck to you.

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (2,396)