Working with Rules in a Flow Ruleset

Prerequisites

Knowledge Required

  • You have basic knowledge in rules modeling

  • You are familiar with Business Rules Management System

Software Requirements

  • You work in SAP NetWeaver Developer Studio

  • Your SAP NetWeaver Developer Studio version includes the Rules Composer perspective

Context

This tutorial helps you create a simple rule based application to determine an applicant's eligibility for a specific credit card type.

Business Use Case

The rule based application satisfies the following business use case:

  • An applicant applies for a credit card by filling out a credit card request , including information such as name, age, annual income, total assets, credit history and desired credit card type

  • When the credit card request is received, based on the information provided by the applicant, the credit score is set.

  • Based on the credit score the eligibility of the applicant for the desired credit card type is determined and the message is set.

The workflow is as shown below:

What is New in this Tutorial

This tutorial helps you model the credit card eligibility validation process using Rule Flows. It also helps you use some new features in the rules composer such as :

Procedure

  1. Creating the Rules Composer DC
  2. Creating the XML Schema
  3. Creating the Definition
  4. Creating the Enumeration Type
  5. Creating the Flow Ruleset
  6. Creating the Decision Tables
  7. Creating the Rule Scripts
  8. Creating the Rule Flow
  9. Working with the Test Case
  10. Exposing the Flow Ruleset as a Web Service
  11. Deploying the Rules
  12. Executing the Rules