Task 3: Defining parameters
You add parameters to the project.
About this task
Use the following elements to create scorecard attributes:
-
Ruleset parameters
-
Automatic variables
-
The variables defined in the variable set
-
Variables defined in the scorecard precondition
Using ruleset parameters, you can set or retrieve values on a ruleset. For example, you can call a rule to calculate a score and return the calculated score to the ruleset. The code that calls the rules can get the actual score back and use it. With variables, you use the score as a local variable within the ruleset.
Now that you have imported the object model, you must provide values for the attributes to be tested in your scorecard.
Procedure
To add parameters to the project:
Results
The new parameter LoanApplication is added to the project properties.
In the next task, you create a scorecard project that references your BOM project.