The CreatorCon Call for Content is officially open! Get started here.

Flow Designer Flow Logic to branch back to Catalog Task

Danny Barker
Tera Contributor

Hello, 

 

I am building a Hardware Request flow using Flow Designer.  When you run into several "if" & "then" statements,, how do you ultimately join the two branches back together? Example below shows an Approval question at the start of the flow.

If the item is not over $500 or Approved, they both progress to the same Catalog Task.  Do we keep two branches running along side each other of can we tie  them back.  

DannyBarker_0-1694786466754.png

Any help would be greatly appreciated as I am just starting to take a dive in Flow Designer.  Please point me in the right direction if any Best Practices that I may be missing on the logic. 

 

 

 

2 REPLIES 2

Vijay Balotia1
Tera Guru

Hi @Danny Barker,

 

Eventually we cannot join two branches in  flow, You only need to an approval based on price so your flow is correct no need for any addition things to add.

 

I also like you suggest you some best practice to avoid multiple if and multiple branches.

1. you can you use decision table when you have multiple condition you just need to define you input parameter and based on condition you can define desired out. this will help you to reduces condition in flow.

2. you can create sub-flow/ actions for repeated steps.

3. you can use switch case in flow.

4. To avoid code in flow you can create flow variable and use function set variable value that can also help you in building conditions

 

Thanks,

Vijay Balotia

Please mark the appropriate response as correct answer and helpful, This may help other community users to follow correct solution.
Thanks
Vijay Balotia

Prashanth redd4
Kilo Guru

Hey Danny,

 

You can keep both branches running aside. 

 

The only thing is you might want to add an "End Flow" action in the then block to stop the flow and I does not create an other catalog task

 

 

Regards,
Prashanth Reddy

 

Please mark me helpful If I have answered your question.

 

Prashanthredd4_0-1694788020644.png