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.
interface ApprovalFlowRejectAction {
    action: "reject";
    reason?: string;
}

Properties

Properties

action: "reject"
reason?: string

The reason for the rejection of the Approval Flow.