How to make robot continue to next sequence if Try-Catch occurs in the middle of sequence?

Hello all,

I have the following scenario:
In the middle of sequence A, there is Try-Catch activity for catching if the data table contains any rows.
In case there are no data rows, robot should go to the next sequence B if catch occurs. I tried with Throw BusinessRuleException but that does not help since it goes back to get transaction.

Thank you for your help!

@bp777

if possible can you please share the screen shot the way you have implemented

so that we can help

Instead of Try Catch, you could just have an If where you check existence of rows. In the True branch, keep the activities that you already have. In False branch, do nothing.

Hello @bp777,

Consider the following steps to structure your workflow:

Step 1. Enclose your current Sequence A within a Flowchart for better control flow.

Step 2. Incorporate Sequence A as a node within the Flowchart.

Step 3. Establish a Decision node following the completion of Sequence A. Examine whether the DataTable contains any rows within this Decision node.

Step 4. If the DataTable does contain rows, direct the flow to the subsequent step or sequence within the Flowchart. Conversely, if there are no rows, reroute the flow to Sequence B.