Interface ApprovalFlowApproveAction

All Superinterfaces:
ApprovalFlowUpdateAction

public interface ApprovalFlowApproveAction extends ApprovalFlowUpdateAction

This update action allows an Associate to approve an Approval Flow. The process takes into account all Associate Roles held by the Associate, aligning with the matched Approval Rules and their respective approver hierarchies.

When every required Associate has given their approval, the Approval Flow achieves a fully approved state, automatically updating its status to Approved. An Associate is eligible to approve only if their roles are within tiers of the Approval Rule hierarchy that are yet to be fully approved or rejected. As such, an Associate may be able to give their approval more than once.


Example to create an instance using the builder pattern

     ApprovalFlowApproveAction approvalFlowApproveAction = ApprovalFlowApproveAction.builder()
             .build()