32.33 REQUEST_MORE_INFORMATION Procedure

This procedure requests more information for a task. The actual owner of a task can request additional information regarding a Task from the Initiator. In cases where the initiator is unavailable, the task is reassigned to another team member to keep the workflow moving.

If p_to_user is not NULL, the task is reassigned to this user instead of the initiator of the task. For example, a travel approver might need the airlines details from the Initiator. The Task then moves to the INFO_REQUESTED state and can be acted on by the Owner only after the Initiator submits the requested information.

Syntax

APEX_HUMAN_TASK.REQUEST_MORE_INFORMATION (
    p_task_id                IN NUMBER,
    p_text                   IN VARCHAR2,
    p_to_user                IN VARCHAR2     DEFAULT NULL );

Parameters

Parameter Description
p_task_id The Task ID.
p_text Text describing the information requested.
p_to_user If specified, the task will be assigned to this user, otherwise the task is assigned to the initiator.

Example

BEGIN
    apex_human_task.request_more_information(
        p_task_id => 1234,
        p_text    => 'Please provide the flight PNR for your travel.',
        p_to_user => 'STIGER'
    );
END;