Are you tired of adding actions for every condition?
Does the size of your flow bother you?
Did you hope, What if being a developer, you would just write a nested if statement in flow.
Well that is possible, simply add a Compose action and go to expression.
if(expression: boolean, valueIfTrue: any, valueIfFalse: any)
Required. A boolean value that determines which value the expression should return.
Returns a specified value based on whether the expression resulted in true or false
Example:
if(contains(triggerOutputs()?['name'],'Flow'),'Success','Failed')
Nested Ifs:
if(condition,valueif true, if(condition, valueiftrue, value if false))
Comments
Post a Comment