Interface ApprovalFlowRejectAction

All Superinterfaces:
ApprovalFlowUpdateAction

public interface ApprovalFlowRejectAction extends ApprovalFlowUpdateAction

This update action allows an Associate to reject an Approval Flow, setting its status to Rejected. The process takes into account all Associate Roles held by the Associate, aligning with the matched Approval Rules and their respective approver hierarchies. Even a single rejection in the process will result in the rejection of the entire Approval Flow.

An Associate is eligible to reject only if their roles are within tiers of the Approval Rule hierarchy that are yet to be rejected. An Associate may alter a prior approval into a rejection.


Example to create an instance using the builder pattern

     ApprovalFlowRejectAction approvalFlowRejectAction = ApprovalFlowRejectAction.builder()
             .build()