Power Automate Exchange

Please login or click SIGN UP FOR FREE to create your FlowUG account to join this user group.
Expand all | Collapse all

Newbie, please help-3 conditions, contains

  • 1.  Newbie, please help-3 conditions, contains

    Posted Mar 04, 2021 07:15 AM
    I have a flow with almost two dozen (if, if,....else if)  after the first step.

    Im using scope condition to get there but having trouble wrapping my head around the solution.  is it a compose i can do earlier?  or just continue to use the condition scope?  

    My lack of knowledge I guess is the compose a function and create a variable?  I thought this was low code...sigh.

    Or should i just keep all those (else if 'contains' value) separate by using scope (by separating that third condition 'contains')...

    How much does it matter if i create a compose function to improve efficiency?


  • 2.  RE: Newbie, please help-3 conditions, contains

    Posted Mar 05, 2021 01:16 PM
    Sorry if this seems trivial but can you consolidate a bunch of those ifs into a switch?   Build a variable set by the ifs in series always contining along with no real branching, then run switch against it at the end for the multiple outcomes?

    ------------------------------
    Elena Schott
    Sr. Business Analyst
    Aon - San Francisco, CA
    ------------------------------



  • 3.  RE: Newbie, please help-3 conditions, contains

    Silver Contributor
    Posted Mar 06, 2021 11:56 AM
    Hi @JOSEPH CULVER,
    Can you please share a bit about what you're trying to achieve? This will likely make a difference in how to think about the solution...



    ------------------------------
    Sandy Ussia
    Business Applications MVP
    Technical Evangelist, Lightning Tools
    Co-Founder, NLightning
    sandy@sandyu.com
    United States (currently)
    ------------------------------