Do while

Hi,
In do while loop, I have an if condition. If true, I need to throw Business exception and come out of do while. Is the sequence correct? if true - throw new BusinessException(), break.

Thanks,

Hi @A_Learner

Your sequence is right

Do While activity:
    Body:
        If activity:
            Condition
            Then:
                Throw activity:
                    Exception: new BusinessException()
                    Break activity
        End If

Hope it helps

1 Like

Thank you so much @Parvathy

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.