Workflow Engine APIs

The Workflow Engine APIs can be called by an application program or a workflow function in the runtime phase to communicate with the engine and to change the status of each of the activities. These APIs are defined in a PL/SQL package called WF_ENGINE.

Many of these Workflow Engine APIs also have corresponding Java methods that you can call from any Java program to integrate with Oracle Workflow. The following list indicates whether the Workflow Engine APIs are available as PL/SQL functions/procedures, as Java methods, or both.

Important: Java is case-sensitive and all Java method names begin with a lower case letter to follow Java naming conventions.

Some Workflow Engine APIs use PL/SQL table composite datatypes defined in the WF_ENGINE package. The following table shows the column datatype definition for each PL/SQL table type.

PL/SQL Table Types in WF_ENGINE

PL/SQL Table Type Column Datatype Definition
NameTabTyp Wf_Item_Attribute_Values.NAME%TYPE
TextTabTyp Wf_Item_Attribute_Values.TEXT_VALUE%TYPE
NumTabTyp Wf_Item_Attribute_Values.NUMBER_VALUE%TYPE
DateTabTyp Wf_Item_Attribute_Values.DATE_VALUE%TYPE

Related Topics