Oracle® Fusion Middleware Modeling and Implementation Guide for Oracle Business Process Management 11g Release 1 (11.1.1.5.0) Part Number E15176-05 |
|
|
View PDF |
This chapter provides information about creating and using business processes in Oracle BPM. It provides a general introduction to business processes and describes the process editor window. It also provides procedural information for creating and using processes.
This chapter includes the following sections:
This section provides information about creating and using business processes in Oracle BPM Studio.
A business process can be generally defined as a sequence of tasks that after it performed result in a well-defined outcome.
Business processes are the core components of process-based business applications created with the Oracle BPM Suite. Although projects are higher level wrappers that contain all the resources of a business application, the processes within the project determine how the application works.
This flow is defined by various BPMN flow objects.
Business processes are generally created by process analysts who determine the business requirements that must be addressed and define the corresponding process flow.
Oracle BPM enables you to create different types of BPMN processes depending on what work the process must perform. Table 5-1 describes the different types of processes supported by Oracle BPM.
Table 5-1 Process Types
Process Type | Description |
---|---|
Synchronous Service |
Synchronous services are processes that can be invoked from other processes or services synchronously. In a synchronous service, the calling process waits until the process completes before continuing. |
Asynchronous Service |
Asynchronous services are processes that can be invoked from other processes or services asynchronously. In an asynchronous service, the calling process does not wait until the process completes before continuing. |
Manual Process |
Manual processes are processes that require user interaction. Manual processes begin and end with none start and end events. |
Reusable Process |
A process that can be invoked from a call activity. reusable processes can only be invoked using the call activity. |
Business processes are created within an Oracle BPM project. You can add one or more processes to your project.
To create a new business process
Open your project.
Expand the node for your project in the BPM Project Navigator.
Right-click Processes, then select New then Process.
Select the type of process you want to create, then click Next.
See Section 5.1.1.1, "Types of Processes" for more information on process types.
Enter a name and optional description.
Click Ok.
The new process is opened in the process editor.
New business processes are created with a start and end event connected by a default sequence flow. The type of start and end events depend on the type of process you created.
After opening an Oracle BPM project, you can open any of the processes it contains. Processes are opened in the process editor window.
To open a business process
Open your project.
Expand the project node in the Project Navigator.
Expand Processes.
Double-click the process you want to open.
The process opens in the process editor window. See Section 5.2, "Introduction to the Process Editor" for more information on working with processes in the process editor.
You can delete processes from your project. However, you should ensure that there are no remaining references to the deleted process elsewhere in your project.
To delete a business process from a project:
Open your project.
Expand Processes in the Project Navigator.
Right-click the process you want to delete, then select Delete.
When you delete a business process from a project, you must ensure that you remove any references to it from other parts of your process.
For example, if the deleted process was invoked from another process through a message throw event, you must ensure that you have reconfigured the invoking process so it is no longer referring to the deleted process.
You can edit the preferences for each process within a project using the Project Navigator.
To edit process preferences:
Open your project.
Expand Processes in the Project Navigator.
Right-click the process whose properties you want to edit, then select Properties.
Edit the properties as necessary, then click OK.
Figure 5-1 shows an example of the process editor.
Flow Object Toolbar
The flow object toolbar provides easy access to common BPM flow objects. The following flow objects are available:
Generic Activity
User Task
Exclusive Gateway
Inclusive Gateway
None Catch Event
None Throw Event
Subprocess
Sequence Flow
See Chapter 6, "Modeling Business Processes with Oracle BPM" for more information on BPMN flow objects.
Go To Composite Editor
This toolbar item opens the SOA Composite Editor.
Layout
This toolbar item enables you to use and configure the auto layout utility.
Show Warning
This toolbar item enables you to determine the severity of messages displayed in the Log window. The following severity levels are provided:
This can also be configured in the project preferences. Se e Chapter 4, "How to Edit Project Preferences" for more information.
None: No errors or warnings are displayed to the log window.
Show Errors: Only error messages are displayed to the log window.
Show Warnings: Both warning and error messages are displayed to the log window.
Zoom
This toolbar item enables you to zoom in and out of the processes.
The following sections provide tasks for adding flow objects to your process and how to work with flow objects within the process editor.
See Chapter 6, "Modeling Business Processes with Oracle BPM" for more information on BPMN flow objects.
The process editor toolbar contains shortcuts for common BPMN flow objects.
To Add Flow Objects from the Process Editor Toolbar:
Open the process where you want to add a flow object.
Click the icon in the toolbar, then position the cursor at the point in the process you want to add the flow object.
Click again to add the flow object.
Edit the flow object properties as necessary, then click OK.
For more information on specific flow object properties, see the online Help for each flow object.
You can add BPMN flow objects from the Component Palette.
To Add Flow Objects from the Component Palette:
Open the process where you want to add a flow object.
From the View menu, select Component Palette.
In the Component Palette, click the flow object you want to add.
In the Process editor, position the cursor at the point in the process where you want to add the flow object.
Click to add the flow object.
Edit the flow object properties as necessary, then click OK.
You can edit the properties for each flow object within your process.
To Edit the Properties of a Flow Object:
Open the process containing the flow object you want to edit.
Right-click the flow object, then select Properties.
Edit the properties as necessary, then click OK.
The documentation editor contains a toolbar and editor pane that enables you to enter the documentation for your process and for the flow objects within your process.
Oracle BPM enables you to create two different types of documentation:
Figure 5-2 shows the documentation editor.
The documentation editor contains a toolbar and a text editor window. The tool bar allows you to select the type of documentation you want to create and allows you to select the language if you have defined additional languages for the product.
For more information on the documentation editor toolbar see the online Help.
You can add documentation to your process using the Documentation editor.
Documentation: This is the documentation the process participants see using the Oracle BPM WorkSpace application.
Use case documentation: This is the documentation that process analysts and process developers see when updating a business process.
To Add Documentation to a Flow Element in a Process
Open the process where you want to add documentation.
From the View menu select Documentation.
Select the flow object within your process that you want to document.
From the drop-down list, select the type of documentation you want to add.
Enter your documentation.
From the File menu select Save to save your changes.