Try OpenEdge Now
skip to main content
Developing BPM Applications with Developer Studio
Defining rules with Rule Wizards : Using the Monitoring Rule wizard

Using the Monitoring Rule wizard

You can use the Monitoring rule wizard, which is a parameterized rule file that enables you to monitor an entire process or a selected Activity workstep. For example, you can define the time intervals needed to monitor a specific action or the number of occurrences of a specific event. In addition, you can distribute the data according to time intervals or to dataslot values.
To apply the Monitoring rule to a process or an Activity workstep:
1. From the Metrics category, drag the Monitoring () icon to the Content pane or to selected Activity workstep(s) to which the rule is to be applied to open the Process Monitoring wizard.
2. From the Description page, review the description of the rule wizard, then click Next to continue. Click Cancel, at any time, to exit the wizard.
3. From the Program page, you can define when the process monitoring starts and when it ends.
a. Enter the name for the rule in the Name box
b. Select the appropriate Rule filter condition option to set the rule filter condition by filtering for process template name (filters for a specific process) or for application name (filters for all versions of an application).
c. Select either of the following options to indicate if the process monitoring is time-specific or not.
*No time constraints option to indicate that the monitoring is not time-specific.
*Period option to specify the time period during which the monitoring is conducted. Click the ellipsis button next to the Start and End boxes to display the Calendar dialog box, where you can define the date and time. For more information, see 2.b.
d. After making the selection, click Next to continue.
4. From the Report Measures page, you can define the counters that can be used to monitor a process or a selected workstep. Select one or more of the following counters from the drop-down list provided, then click Add. After defining the counters, click Next to continue.
*Occurrence Counter: Used to monitor specific occurrences in a process (or a selected workstep). From the Occurrence Counter dialog box, select any of the following options to monitor the process instances:
*Completed instances (started during monitoring period): All completed process instances started during the specified monitoring period.
*Started instances to date: All started process instances.
*Currently active instances (started, not completed): All active process instances.
*Time Counter: Used to monitor a specific time unit in a process (or a selected workstep).
*From the Operation drop-down list, select the timing operation. Options include: Average, Sum, Minimum, and Maximum.
*From the Time unit drop-down list, select the time unit in which the timing operation is measured. Options include: Hours, Minutes, Seconds, Business Hours, Business Minutes and Business Seconds.
*Value Counter: Used to monitor specific dataslot values in a process (or a selected workstep).
a. From the Dataslot drop-down list, select the numeric dataslot to be monitored. Only numeric dataslots are displayed in this list.
b. From the Operation drop-down list, select the monitoring operation for the selected dataslot. Options include:
*Average. Provides an average of the dataslot values.
*Sum. Provides the total of the dataslot values.
*Minimum. Provides the minimum dataslot value.
*Maximum. Provides the maximum dataslot value.
5. From the Report Measures Distribution page, you can define how to distribute the data you have selected for monitoring.
*No distribution: The data will not be distributed.
*By time periods: Distribute the data by a specified time period, based on the starting time of the instance.
a. Click the adjoining ellipsis button to display the By time periods dialog box.
b. Select the Aggregate entry checkbox to aggregate the metric and create a distributed entry that totals all prior distributed entries.
c. From the Period drop-down list, choose a distribution period. Options include: Days of the month, Hours of the day, and Months of the year.
d. Click OK to continue.
*By attribute: Distribute the data based on values specified for a selected dataslot. Click the adjoining ellipsis button to display the By attribute dialog box.
6. Click Next to continue.
7. From the Summary page, review the summary of the rules that monitor the process. Click Next if the rules are acceptable, or click Back to return to previous pages if you need to modify the rules.
8. From the Save As page, modify (if required) the name of the rule file in the File name box, or click the adjoining ellipsis button to change the location of the rule file.
9. Click Finish to create the rule file in the specified folder.
The new rule is now applied to the process (or to a selected workstep).