public static class ProcCheckIfApprovalRequired
extends java.lang.Object
This processor is designed to interrupt the processOrder pipeline by stopping the chain when the Order needs approval. Otherwise, a successful return code triggers a normal transition to the next processor.
If the Order needs approval the processor returns PipelineProcessor.STOP_CHAIN_EXECUTION_AND_COMMIT
Otherwise, the processor returns a successful return code 2
to indicate a normal transition.