Do we have a decision action that can divide the main flow into 2 parts

(Janmajay Adhikari) #1

Hi Team,
I need to execute two cases, service order creation and getting the status of service order. I’m displaying choice option for the use cases to the end user and using that choice parameter as a filter condition for rest of the actions in my flow.

Problem : The issue is, flow becomes sequential, it goes through all the actions that doesn’t match filter conditions and then execute those actions that have a match.

Question : Can I make a portion of the flow to be skipped in order to complete the flow must faster and less laggy for better customer experience. Basic example is a decision box in algorithms that breaks the flow into two parts depending upon a choice/value.

Thanks,
Janmajay

(Sarah Palombo) #2

There’s two possibilities here

The obvious one is to split your flow into two. (Just use the Flow Action to trigger a new flow)

Alternatively, you could use Labels in your flow with a Go to a Label action . When you reach this point, (if you find a match) you’ll skip the remaining actions carrying on past the label.

Hope that helps ! :slight_smile:

Sarah

(Janmajay Adhikari) #3

Hi Sarah,
I can see the Go to Label action tutorial, do you have one for triggering another flow from a flow action. The instruction in the doc https://support.flowxo.com/article/151-flow are not very clear.

Thank you so much for the help :slight_smile:

(Karen Barker) #4

Hi Janmajay,

Unfortunately there isn’t a separate tutorial on using the Flow Trigger action. All you’ll need to do for this is in the first flow add an action Flow > Trigger a Flow and set the word or phrase to be the same as the keyword trigger required for the second flow you want to branch into.

Hope this helps. :slight_smile: