SET_TASK_OUTCOME Procedure

This procedure sets the outcome of an Action Task.

Setting an Action Task outcome is a separate event from completing the task, so task-definition actions can be attached to the outcome change.

Syntax

APEX_HUMAN_TASK.SET_TASK_OUTCOME (
    p_task_id                IN NUMBER,
    p_outcome                IN VARCHAR2 );

Parameters

Parameter Description
p_task_id The Task ID.
p_outcome The outcome of the Action Task.

Example

BEGIN
    apex_human_task.set_task_outcome(
        p_task_id  => 1234,
        p_priority => 'ESCALATED'
    );
END;