Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 Project Design Tutorial : Add the FraudCriteria Scorecard

Add the FraudCriteria Scorecard
In this task, you finish building the project ontology by creating a scorecard. The FraudCriteria scorecard will store the criteria used to determine fraud, not any specific data about customer accounts. In this example, you will use this scorecard in rules.
Learning Points
What is a scorecard?  A scorecard is a special type of concept. A scorecard serves as a static variable. You can use a scorecard resource to track key performance indicators or any other information. Unlike concepts, there is only one instance of a scorecard. You create the scorecard at design time. Its values can be viewed and updated using rules.
It is more accurate to say there is one instance of a scorecard per inference agent. This tutorial uses one inference agent. However, in the next tutorial you will deploy multiple agents, and each has its own instance of the scorecard. This enables scorecards to be used for local purposes and minimizes contention between the agents. Do not use scorecards as a mechanism to share data between multiple agents.
More Information
Chapter 12, Scorecardsin TIBCO BusinessEvents Developer’s Guide.
Task I Create the FraudCriteria Scorecard
There is only one scorecard in this project, so we don’t need a folder for it. You will create it in the project root.
1.
Select the FraudDetection root folder and press Ctrl+N. In the Select a Wizard dialog, expand TIBCO BusinessEvents and click select Scorecard.
This is how you add resources that are less commonly used.
2.
Name the scorecard FraudCriteria. Add the description Stores the criteria used to determine fraud, and click Finish.
3.
In the FraudCriteria Scorecard editor, add the following properties:
4.
Summary and Next Steps
You have now set up the ontology for the project, that is, the definitions of all the events, concepts, and scorecards that are needed to store information (facts) about possible fraud detection.
Next, you will configure a rule function that sets values for the scorecard, and one that acts as an event preprocessor — a term you will learn more about in that section.

Copyright © TIBCO Software Inc. All Rights Reserved