cancel
Showing results for 
Search instead for 
Did you mean: 

Resizable conditions formulas

It'd be great if we could resize the textbox of a condition forumlas when in advanced mode.

Status: New
Comments
Level: Powered On

Automatic indentation for nested conditions would help. I feel like we've gone back to the Excel-era days of maintaining 7 nested IF statements...

Level: Powered On
Yes, this is a must for advanced conditions. I have been using the workaround of creating the conditions in sublime and pasting them back.
Level: Powered On

Is there an extension for sublime that recognizes powerapps functions and expressions?

Level: Powered On

Not really, I kind of use a hack.

The way I do is make a single condition in basic mode then convert it into advanced mode and copy and paste into sublime, format it and add any 'advanced conditions such as 'and' or 'or'.

Do the same for other conditions.

 

For example. If i have a name field. By converting basic to advanced i get-   

 @equals(body('Get_item')['Title'], 'My_Title')

copying it in sublime and adding 'and' & formatting a bit gives me

  @and(
     equals(body('Get_item')['Title'], 'My_Title'),
     --next condition---
     )

Then get the next condition from flow and pasting it in.

 @and(
     equals(body('Get_item')['Title'], 'My_Title'),
     empty(body('Get_item')['Contract'])
 )

Copy it all and paste it in Flow in advanced mode.

 

Kind of a hack but it does let me make more advanced conditions a bit easier.