9.4 ADD_TO_HISTORY Procedure
Caution:
This API is deprecated and will be removed in a future release.
Use APEX_HUMAN_TASK instead.
This procedure adds a log entry into the task history and is to be used within task action code.
Syntax
APEX_APPROVAL.ADD_TO_HISTORY (
    p_message IN VARCHAR2 )Parameters
| Parameter | Description | 
|---|---|
| p_message | Message to add into to the task history. | 
Example
The following example demonstrates how to write log information. The task action uses select * from emp as the action source query.
                  
BEGIN
    apex_approval.add_to_history(
        p_message => 'Approved leave for employee with empno: ' || :EMPNO );
    my_logic_package.update_emp_leave_balance(
        p_empno        => :EMPNO,
        p_no_of_days   => :NO_OF_DAYS);
END;Parent topic: APEX_APPROVAL (Deprecated)