8.30 SET_INITIATOR_CAN_COMPLETE Procedure

This procedure updates the initiator_can_Complete attribute of a task. The task can not be COMPLETED or ERRORED. Only a user who is a business administrator for the task can invoke this procedure.

Syntax

APEX_APPROVAL.SET_INITIATOR_CAN_COMPLETE (
    p_task_id                   IN NUMBER,
    p_initiator_can_complete    IN BOOLEAN )

Parameters

Parameter Description
p_task_id The task ID.
p_initiator_can_complete TRUE if the initiator is permitted to also approve or reject the task. Otherwise, FALSE.

Example

BEGIN
    apex_approval.set_initiator_can_complete(
        p_task_id                => 1234,
        p_initiator_can_complete => true
    );
END;