In the View Editor, select the Call Center data object in the Samples folder, and In the Choose Data Fields selection tab, select the Last Modified field in the In the Choose Data Fields selection tab, select the Quantity field as the value to Click Creat

5-12 Oracle Fusion Middleware Users Guide for Oracle Business Activity Monitoring Figure 5–13 Active Now Time Period at 1:00 PM

5.1.1.4 Using Active Now and Time Groups in the Same Chart

Oracle BAM provides the tools to both chart data in datetime value based groups Section 4.2.5, Configuring Time Groups and filter against the same datetime fields to concentrate your view on to a particular time slice in the data object Section 5.1.1, Using Active Now . This section provides an example of how to use these features in the same chart. If the Use time series option is used to group chart values, the chart appears to slide from right to left as time passes. If the Use time groups option is selected, there is no sliding effect, but the data that is displayed in the stationary time groups changes as time passes. In this example, we create a bar chart grouping the sample Call Center data object by the datetime field in a time series, and then add a time-based filter to only show data from the previous 10 minutes. If you complete this example in your own Oracle BAM installation you can watch the chart shift as each minute advances in real time. 1. In Oracle BAM Active Studio, create a report with a single bar chart view.

2. In the View Editor, select the Call Center data object in the Samples folder, and

click Next.

3. In the Choose Data Fields selection tab, select the Last Modified field in the

Group By box, and configure the Time Groups settings as shown. Manipulating Data in Views 5-13

4. In the Choose Data Fields selection tab, select the Quantity field as the value to

chart, and click Next.

5. Click Create a filter in the last step of the wizard.

6. In the Filter tab click add new entry, and configure the filter expression as shown.

Click Add Entry to save the filter expression.

7. Click OK to view the chart. The chart should be empty because there are no

records in this data object containing values within the last 10 minutes.

8. Click the View link in the Actions section and save the report when prompted.

The report opens for viewing so that you can see real-time data changes as we add data to the sample data object.

9. To add current data to this data object, open Oracle BAM Architect and select the

Call Center data object. 5-14 Oracle Fusion Middleware Users Guide for Oracle Business Activity Monitoring

10. Click the Contents link and click Edit Contents.

11. Click Add to add a row to the data object and enter values into the Quantity and

Last Modified fields. It is not necessary to enter data in the remaining fields.

12. Click Save to commit the row to the data object.