Task 4: Defining a decision operation
You define a decision operation and decision operation signature. You define the decision operation signature by name, type, and direction.
About this task
A ruleset is an executable package that includes rule artifacts and the other elements. It contains a set of rules that can be run by the rule engine. You must define the contents of the ruleset and the parameters that allow the client application to exchange information with the ruleset. A decision operation includes all the settings that are needed to define the contents of the ruleset and its parameters.
Decision operation signature defines the data that is sent between the COBOL calling program and the RuleApp. These parameters are defined in the signature of a decision operation. They are references that you can use when you write rules.
- The borrower is an IN parameter. The value of the IN parameter is provided as input from the COBOL client application to the ruleset on execution.
- The loan is an IN_OUT parameter. The value of the parameter is set by the IN value that is passed by the client application and then updated by the engine on the way out. The updated value is returned to the client application.