How to Create a Simulation Definition

10-10 Oracle Fusion Middleware Modeling and Implementation Guide for Oracle Business Process Management The toolbar on the Simulations view enables you to: ■ Select which simulation to run from the Simulation list. ■ Start, stop, and pause the simulation, or run it to the end by clicking the appropriate button. If you choose to run the simulation to the end, the simulation runs in the background with no animation making the simulation faster. ■ Select the speed at which to run the simulation from the Speed list. In normal speed, instances are created at rate of one per second.

10.6 Analyzing the Results of a Simulation

You can display simulation results either as a chart or as a log file by clicking either the Chart tab or the Log tab in the Simulations window. The Log tab displays a log that tracks the movements of all the instances in the simulated process. Each line in the log contains the following information: ■ Date and Time ■ Process ■ Instance ■ Instance path

10.6.1 How to Analyze the Results of a Simulation Using a Chart

The Chart tab enables you to select a type of chart to display the result of the simulation. You can configure this chart to display the resources to monitor. You can also select the units the chart uses to measure the resources use. In the Chart tab you can configure how to display the chart with the results of the simulation by configuring the following: ■ Type of chart ■ Activities or resources to monitor ■ Indicators Figure 10–6 shows the toolbar for a sample Chart page. Figure 10–6 Simulations Chart Page This illustration is described in the text. To analyze the results of the simulation using a chart: 1. From the list below the Chart tab, select the type of chart to display. Note: If you stop a simulation, you must restart it from the beginning. Running Simulations in Oracle BPM 10-11 They available types are: ■ Column ■ Bar ■ Bar 3D ■ Column 3D ■ Table

2. Click the Configure icon located on the right hand side of the Charts tab.

A Configuration dialog box appears. 3. Select a resource or an activity to monitor. 4. Select the axis where to display the activities or resources. 5. From the list below the Show list, select the activities or resources to monitor in the simulation.

6. From the Indicators list, select the type of indicators to monitor.

The available types of indicators are: ■ Cost ■ Time ■ Units 7. From the list below the indicators list, select the indicators to monitor. The chart displays the variables and indicators you selected.

8. Click Close.

9. Optionally, click the drill up and drill down icons located next to the Types list to increase or reduce the level of detail in the chart.

10.6.2 How to Generate a Simulation Report

You can generate a simulation report that contains the result of the simulation. To generate a simulation report: 1. Run the simulation. For more information on how to run a simulation, see Section 10.5.1, How to Run a Simulation .

2. Click the Generate Documentation icon.

The Simulation Report dialog box appears. 3. In the Directory Location field, enter a directory to store the report or click the button next to it to browse the file system and select a directory. 4. In the Activities tab, select an option: ■ Summary ■ Details 5. In the tree below, select the activities to include in the report. You can specify which activities to include using the following options: 10-12 Oracle Fusion Middleware Modeling and Implementation Guide for Oracle Business Process Management ■ Select All to include all the processes in the simulation definition. ■ Select a process to include all the activities in the selected process. ■ Individually select the activities to include. 6. In the indicators tab, select an option: ■ Summary ■ Details 7. In the tree below, select the indicators to include in the report. You can individually select which indicators to display in the report, or select a type of indicator to display all the indicators of that type. 8. Select the type of graphic to use in the report. The preview are shows an example of the graphic you chose.

9. Click OK.

10.6.3 What Happens when You Generate a Simulation Report

Oracle BPM Studio creates a directory using the name and location you selected. This directory contains an HMTL file for each of the processes in the simulation. The HTML file contains: ■ a graphic that displays the result of the simulation ■ a link to a CSV file with the simulation data ■ a link to a CSV file with the simulation resources data You can view the CSV files with the simulation data and resources data in a spreadsheet application. Using Process Analytics 11-1 11 Using Process Analytics This chapter describes how to use and configure BPM Process Analytics to monitor the activity of the processes in your project. Process Analytics enable you to obtain performance and workload metrics of the processes in your project. You can use this metrics to make decisions about your process. This chapter includes the following sections: ■ Section 11.1, Introduction to Process Analytics ■ Section 11.2, Typical Process Analytics Workflow ■ Section 11.3, Configuring Projects, Processes and Activities to Generate Sampling Points ■ Section 11.4, Adding Business Indicators to Projects ■ Section 11.5, Adding Measurement Marks to Processes ■ Section 11.6, Adding Counters to the Activities in a Process ■ Section 11.7, Configuring Cubes Generation in a Project ■ Section 11.8, Enabling Oracle BAM in a Project

11.1 Introduction to Process Analytics

Business Process Analytics enables you to monitor the performance of your deployed processes. It measures the key performance indicators in your project and stores them in a database. Process analysts can view the metrics stored in the Process Analytics databases using WorkSpace dashboards or Oracle BAM, depending on the database you select to store the information. Process analysts can monitor standard pre-defined metrics and process specific user-defined metrics. Process developers can define process specific metrics using Business Indicators. Business Indicators are a special type of project data object that the BPMN Service Engine stores to the Process Analytics databases when it runs the BPMN processes. Process developers define the key performance indicators you want to monitor while developing your process. After publishing the application business analysts can use the default dashboards BPM WorkSpace provide or create custom dashboards to view the metrics the BPMN Service Engine gathered while running BPMN processes. Process Analytics track: ■ Process and Activity Performance Metrics ■ Workload Metrics