Skip Headers

Oracle Workflow Developer's Guide
Release 2.6.3

Part Number B10284-02
Previous Next       Contents Index Glossary
         Previous  Next          Contents  Index  Glossary

Initiating a Process

A workflow process begins when an application calls the Workflow Engine CreateProcess( )

and StartProcess( ) APIs or when a Business Event System subscription sends an event to launch the process. A subprocess is started when the Workflow Engine transitions to a process activity that represents the subprocess.

To launch a workflow process using the Business Event System, follow these steps:

1. Define a business event.
2. Define a subscription to this business event. In the subscription properties, specify the workflow item type and process that you want to launch.
By default, Oracle Workflow uses the event key as the item key for the workflow process that is launched. If you want to generate the item key based on a custom rule, create a function that populates the correlation ID in the event message with the item key you want, and assign that function as the subscription's rule function.
3. Add the Raise() API to your custom application code at the point where you want to launch the workflow process.
Note: The item key for a process instance can only contain single-byte characters. It cannot contain a multibyte value.

See Also

Workflow Engine APIs, Oracle Workflow API Reference

Raise, Oracle Workflow API Reference

Managing Business Events


         Previous  Next          Contents  Index  Glossary


Oracle Logo
Copyright © 2003 Oracle Corporation.

All rights reserved.