55.3 CONTINUE_ACTIVITY Procedure Signature 2
This procedure continues the Workflow at the given activity.
Syntax
APEX_WORKFLOW.CONTINUE_ACTIVITY (
p_instance_id IN NUMBER,
p_activity_instance_id IN NUMBER,
p_activity_params IN wwv_flow_global.vc_map,
p_activity_status IN t_activity_status DEFAULT
c_activity_status_success);
Parameters
Parameter | Description |
---|---|
p_instance_id |
ID of the Workflow. |
p_activity_instance_id |
ID of the activity instance. |
p_activity_params |
The parameters returned as part of the activity execution. If these parameters correspond to Workflow variables, the values of those variables are updated with what is provided here before the workflow continues to the next activity. |
p_activity_status |
The status of the activity. Default SUCCESS .
|
Example
The following example continues a Workflow Activity.
DECLARE
l_activity_params wwv_flow_global.vc_map;
BEGIN
l_activity_result('TASK_OUTCOME') := 'APPROVED';
apex_workflow.continue_activity(
p_instance_id => 1234,
p_activity_instance_id => 1,
p_activity_params => l_activity_result);
END;
Parent topic: APEX_WORKFLOW