Task 2: Creating decision operations
You create two decision operations to define rulesets for the decision service.
About this task
In this task, you create decision operations. Each decision operation defines one ruleset and its input and output parameters. A ruleset combines business rules into an executable container that is deployed, and the parameters are used to exchange data between a ruleset and the client application.
You define each ruleset and its parameters as a decision operation that has a unique signature of input and output parameters. Decision operations can share rules and projects, which allows a decision service to change when new decision points require different signatures.
- parameters: Contains the variables that are used in deployment to production.
- ruleset variables: Contains variables that are used only in nonproduction.
Because all the projects of the decision service reference the BOM project, the variables are visible when you create any decision operation. You use these variables as input and output parameters when you create decision operations.
- One that takes all the rules that have the status validated from all of the referenced projects, by means of a query
- A second, for testing purposes, that takes the rules that relate to scoring and grade from the three referenced projects

The tutorial uses rule properties, in this case the status property, as a strategy for rule selection. Another approach is to divide individual decisions according to rule project and rule package.
Procedure
What to do next
In the next task, you create run configurations for your decision operations.
