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

Using the Decision Counter Rule wizard

You can use the Decision Counter Rule Wizard to create a set of rules that count the number of times a particular decision path from a specific Decision gateway has been taken by instances of the process template. This rule wizard creates a monitoring table that keeps a count of the total number of times the decision was executed as well as a count of the number of times each decision path was taken. The Decision Counter rule wizard also enables you to set the time when the counter is activated and its duration.
1. From the Metrics category, drag the Decision Counter () icon on the Decision gateway that you want to monitor, to open the Decision Counter 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.
Note: Click Back at any time to go back to the previous page. Click Cancel at any time to exit the wizard. Click Help to open a Help file for more information.
3. From the second page, you can assign a name and define the timing of the monitoring of the paths from the selected Decision gateway.
a. Enter the name for the rule template you want to create 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 define when the decision counter is activated.
*Indefinite option to immediately activate the decision counter and to continue indefinitely.
*Period option to set the specific starting and ending date (and time) for the decision counter. as discussed in 2.b.
d. Click Next to continue.
4. From the Report Measures Distribution page, you can define how to distribute the computed measures across time periods or based on the value of a dataslot in the process.
*No distribution if you do not want to distribute the computed measures.
*By time periods: distributes the data by a specified time period, based on the starting time of the instance. For more information, see Step 5
*By attribute: distributes the data based on values specified for a selected dataslot. Click the adjoining ellipsis button to display the By attribute dialog box.
After defining all distributions, click Next to continue.
5. From the Action page, you can specify the actions to be taken every time a particular decision path is traversed. You can define as many actions as required, or proceed to the next page without specifying any action. The procedure for all these actions are similar to as described in Step 5 for Process Path Wizard.
6. From the Summary page, review the summary of all the measures to be computed and the rules and actions (if any) defined with the rule wizard. Click Next to continue, or click Back to return to previous pages if you need to return to previous pages and make corrections.
7. 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.
8. Click Finish to create the rule file in the specified location. The rule file must be separately installed on the BPM Events server before it becomes active.