31.30 SET_TASK_PARAMETER_VALUES Procedure
This procedure updates the values of the parameter(s) of this task. This procedure only updates the parameters that are marked as "updatable" in the task definition.
Only a Business Administrator or the owner of the task can run this procedure.
Syntax
APEX_HUMAN_TASK.SET_TASK_PARAMETER_VALUES (
p_task_id IN NUMBER,
p_parameters IN t_task_parameters,
p_raise_error IN BOOLEAN DEFAULT TRUE );
Parameters
Parameter | Description |
---|---|
p_task_id |
The Task ID. |
p_parameters |
The list of changed parameters. |
p_raise_error |
Default When If |
Example
BEGIN
apex_human_task.set_task_parameter_values(
p_task_id => 1234,
p_parameters => apex_human_task.t_task_parameters(
1 => apex_human_task.t_task_parameter(static_id => 'REQ_DATE',
string_value => sysdate+10),
3 => apex_human_task.t_task_parameter(static_id => 'REQ_AMOUNT',
string_value => l_req_amount));
END;
Parent topic: APEX_HUMAN_TASK