| Previous | Next |  | Contents | Index | Glossary

## To Create a Process Definition From Bottom Up

1. To start Oracle Workflow Builder, double-click on the Oracle Workflow Builder icon located in the Application Development folder within the Oracle - <SID NAME> program group. If you are using Windows 95 or NT 4.0 or higher, you can also select the Oracle Workflow Builder icon from the appropriate program folder of the Start menu.

2. Choose New from the File menu to create a workspace for your new process definition.

> Suggestion: Alternatively, you can use the Quick Start Wizard to first create the framework for your new process definition. Once the Quick Start Wizard creates your new item type and new process activity, you can skip to step 4 below to begin defining the supporting objects for the new item type and process activity. See: To Use the Quick Start Wizard.

3. Create a new item type. The item type classifies the work item to be managed by the process. See: To Create an Item Type.

4. You can define item type attributes to fully describe your item type and have the activities in your process refer to these attributes for information. See: To Define an Item Type or Activity Attribute.

5. Create new lookup types. See: To Create Lookup Types.

Before defining an activity, you should define the lookup type that represents your activity's Result Type. A Result Type is a list of possible results that an activity can have upon completion. After defining a lookup type and an activity, you can drag the lookup onto an activity in the navigator tree to assign that lookup as the activity's result type. Lookup types can also be referenced by item type attributes, activity attributes, messages, or message attributes.

6. Create new messages. See: To Create a Message.

If you wish to create a notification activity for your process, you should first create the message that you want the notification activity to send. You can drag a new message onto a notification activity in the navigator tree to assign the message to that activity.

You can also create message attributes for the message. You can incorporate message attributes of type 'Send' into a message that are token substituted at runtime to provide dynamic content. You can also define message attributes of type 'Respond' to prompt the notification recipient for a response. See: To Define a Message Attribute.

7. Create a new process activity, notification activity or function activity. You may also use predefined standard activities associated with the Standard item type. See: Activities and Standard Activities: .

You need to define at least one process activity that represents your high level process diagram. The process diagram establishes the relationship of all the activities in your process.

8. Diagram the process.

Display the Process window for your process activity to diagram the activities and transitions that define your workflow process. You can drag activities from the navigator tree into the Process window. See: Diagramming a Process.

9. Save your work by choosing Save or Save As from the File menu. See: To Save Your Work.

10. In a database accessible by your Oracle Workflow server, create the PL/SQL stored procedures called by your PL/SQL function activities. You can do this through SQL*PLUS or the Oracle Procedure Builder. See: Workflow APIs and Standard API for PL/SQL Procedures Called by Function Activities.

### See Also

To Modify a Process Definition

Deleting Objects in Oracle Workflow Builder

Modifying Objects in Oracle Workflow Builder

Item Type Definition Web Page

| Previous | Next |  | Contents | Index | Glossary