Examples of When to Use an EXIT Step

Exit an entire flow service from within a series of deeply nested steps.

Throwing an exception when you exit a flow or a flow step without having to write a Java service that throws a ServiceException.

Exit a LOOP or REPEAT flow step without throwing an exception.

Completing a flow step abruptly.

Exiting an iteration of a LOOP or REPEAT flow step without exiting the entire LOOP or REPEAT step.