< Previous | Next >

Before you start

This topic explains the tasks, objectives, and prerequisites of this tutorial.

This tutorial shows you how to group complex decisions that involve several rule projects into a decision service. Using a decision service that contains multiple projects has the following advantages:
  • All the rule projects that are contained in the decision service are managed as a whole, across both the IT and the business environments. Each release, change activity, or branch in Decision Center includes all the decision service projects.
  • A decision service has well-defined interfaces and rulesets by means of decision operations. A decision operation includes all the settings that are needed to produce a ruleset: input and output parameters, main ruleflow, and any rule extraction.
  • Deployment is made simpler by the use of deployment configurations, which define what to assemble in a RuleApp and where to deploy it. A deployment configuration can refer to one or more decision operations. Because a deployment configuration is an artifact, it can be synchronized between Rule Designer and Decision Center.
In this tutorial, the decision service uses business rules from different rule projects to validate information from a borrower and determine whether the borrower is eligible for a loan. Then, the decision service determines the borrower's monthly repayment and insurance on the loan. In the tutorial, you assemble the decision service and deploy.
Note: In this tutorial, you use your file system as the target server instead of Rule Execution Server for simplicity. Feel free to try the deployment to your target server.

Learning objectives

In this tutorial, you learn how to do the following tasks:
  • Create the main rule project for a decision service that includes multiple projects.
  • Create a decision operation.
  • Create a run configuration for a decision operation.
  • Create a deployment configuration for a decision service.

Time required

This tutorial takes about 30 minutes to complete.

Directory structure

The files for this tutorial are contained in the following directories:
  • <InstallDir>/studio/tutorials/decisionservice/start: This directory contains several rule projects as a starting point from which you build a decision service.
  • <InstallDir>/studio/tutorials/decisionservice/answer: This directory contains the files that are required to run and deploy the decision service.

What you need to know

This tutorial is for business analysts and developers who want to use decision services to assemble and deploy rules. It assumes that you are familiar with the Eclipse environment.
< Previous | Next >