How to Add Single Measurement Marks to a Process

11-14 Modeling and Implementation Guide for Oracle Business Process Management

11.6.2 What Happens When You Add a Counter Mark to an Activity in a Process

When the BPMN Service Engine runs an activity with a counter mark, it increases the value of the counter business indicator associated to that counter mark by one, in the Process Analytics databases.

11.6.3 How to Delete a Counter Mark

You can delete a counter mark that you do not use or need. To delete a counter mark: 1. Open the BPMN process that contains the counter mark. 2. Right-click the activity that contains the counter mark.

3. Select Delete Counter Mark.

11.6.4 What Happens When You Delete a Counter Mark

After you remove the counter mark, when you right-click the activity it does not show the option Delete Counter anymore. Instead, it shows the option New Counter Mark. Because you removed the counter mark, when an instance passes through that activity the BPMN Service Engine does not increase the value of the counter business indicator in the Process Analytics databases.

11.7 Configuring Cubes Generation in a Project

Oracle BPM provides a set of pre-defined cubes you can use to monitor the activity of your processes. These pre-defined process cubes are enabled by default. If cubes are enabled then when the BPMN Service Engine runs the processes in your project, then it populates the cubes. You can then view the data stored in these cubes using the dashboards provided by the BPM WorkSpace application. For more information about how to build and view dashboards in BPM WorkSpace, see Oracle Fusion Middleware User’s Guide for Oracle Business Process Management.

11.7.1 BPM Process Cubes

Process cubes enable process analysts to analyze the process metrics from different perspectives. The perspectives are defined when defining the process. Measures are numeric facts that you can categorize by dimensions. For example, in the Sales Quote example process, you must define a dimension for the product and a measure for the deal amount to analyze the deal amount by product. BPM Process Cubes support the following dimensions: ■ Activity ■ Process ■ Participant They also support the following measures: ■ Completion time for a specific process ■ Completion time for a specific activity ■ Number of tasks by participant Using Process Analytics 11-15 Process cubes store the data related to activities in the Task Performance BPM_CUBE_ TASKPERFORMANCE and WorkloadBPM_CUBE_WORKLOAD tables. It stores the data related to processes in the Process performance BPM_CUBE_PROCESSPERFORMANCE and WorkloadBPM_CUBE_WORKLOAD tables. The workload table contains data about the currently active activity and process instances. The Task and Process performance tables contain data about completed activities and processes respectively. The data for task and process performance is computed and persisted when an activity or task is completed. The data for workload is calculated and persisted using a timer based on the configuration of the cubeUpdateFrequency property. You can specify the value for the cubeUpdateFrequency property using Enterprise Manager. All the dimensions and measures are stored for the enabled out of the box sampling points. Selected dimensions, measures and counters are stored for user-defined sampling points.

11.7.2 How to Configure BPM Process Cubes Generation in a Project

If you use BPM process cubes to monitor the performance of your project, then you must enable the generation of the process cubes at developing time. When you deploy your application Oracle BPM uses this configuration to enable BPM Process Cubes. To enable BPM process cubes in a Project: 1. In the BPM Project Navigator, right-click the project.

2. Select Project Preferences.

3. In the Category tree, select Process Analytics Summary.

4. In the Process Analytics Summary section, click the Data Targets tab.

5. Select Enable Cubes to enable cubes generation, or deselect it otherwise.

6. Click OK.

11.7.3 What Happens When You Enable BPM Process Cubes in a Project

The BPMN Service Engine populates the pre-defined cubes each time it runs an activity or completes a process. The engine uses the sampling points configuration you defined to populate the cubes. If you configure a process not to generate sampling points, then the BPMN Service Engine does not store this information in the pre-defined cubes.

11.8 Enabling Oracle BAM in a Project

You can Oracle BAM to monitor the activity of the process in your project, leveraging the capabilities of Oracle BAM while using Oracle BPM. You can use Oracle BAM with the pre-defined cubes, or you can choose to disable the latter. For more information about Oracle BAM, see Part X Using Oracle Business Activity Monitoring in Oracle Fusion Middleware Developers Guide for Oracle SOA Suite.

11.8.1 How to Enable Oracle BAM in a Project

Before enabling Oracle BAM in your project, you must configure Oracle BAM correctly. See chapter Configuring Oracle BPMN Process Service Components and