Parallel Database Query; Retrieval issue Resolution

Hi All,

I am having an issue escaping a ‘Do While’ as well as a Parallel activity sequence.

What I’m trying to to here is query a DB for a result DT, but if it is taking longer than 5 mins, disconnect, which will trigger the error in the left hand side of the parallel.

This then repeats three times and if still no returns, throws a Business Exc.

However even when output is found, the sequence keeps looping, even though the conditions I have for my activities contain “(Counter <4 And error_Found = True) Or (PrimaryDT.Rows.Count>=1)

I don’t know why it can’t escape and keeps looping, any thoughts?

Please see attached:

Test.xaml (18.0 KB)