61.9 GET_WORKFLOW_STATE Function
This function gets the current state of the workflow.
Syntax
APEX_WORKFLOW.GET_WORKFLOW_STATE (
p_instance_id IN NUMBER )
RETURN t_workflow_state;Parameters
| Parameter | Description |
|---|---|
p_instance_id |
ID of the Workflow. |
Returns
t_workflow_state
Example
The following example gets the current state of the Workflow Instance.
BEGIN
return apex_workflow.get_workflow_state(
p_instance_id => 1234);
END;Parent topic: APEX_WORKFLOW