Basics of Oracle Workflows Engine
Basics of Oracle Workflows Engine
Please find yet another article written by Oracle Workflow Expert Mr Sudhakar Jukanti, whereby he explains the key
API's of Oracle Workflow Engine.
Thanks Sudhakar for yet another contribution to Oracle Apps Community. Sudhakar also happens to be a CSCP
(certified supply chain professional)
The procedure that executes the Workflow Engine APIs to initiate a process must identify the item type and item key of
the process for these APIs. The item type and item key passed to these APIs uniquely identify an item and must be
passed to subsequent API calls for each specific process.
Exception Handling
Use WF_CORE APIs to raise and catch errors in your PL/SQL procedures.
The Workflow Engine sets the status of the function activity to “ERROR” if:
The PL/SQL procedure raises an unhandled exception
The PL/SQL procedure returns a result beginning with “ERROR:”
If an activity encounters an error, information about the error is stored in the following columns in the
WF_ITEM_ACTIVITY_STATUSES table, which are viewable from the Workflow Monitor.
-->ERROR_NAME
-->ERROR_MESSAGE