Business rules.

Slides:



Advertisements
Similar presentations
WASTE MANAGEMENT ©2010 SciQuest USA Confidential 1 Powered by RFx User Guide.
Advertisements

Edoclite and Managing Client Engagements What is Edoclite? How is it used at IU? Development Process?
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
Chapter 9 Describing Process Specifications and Structured Decisions
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
SOA & BPM Business Architecture, SOA & BPM Learn about SOA and Business Process Management (BPM) Learn how to build process diagrams.
TIBCO Designer TIBCO BusinessWorks is a scalable, extensible, and easy to use integration platform that allows you to develop, deploy, and run integration.
® IBM Software Group © 2006 IBM Corporation How to read/write XML using EGL This Learning Module shows how to utilize an EGL Library to read/write an XML.
IBM Proof of Technology Discovering the Value of SOA with WebSphere Process Integration © 2005 IBM Corporation SOA on your terms and our expertise WebSphere.
WebFOCUS Developer Studio Update Dimitris Poulos Technical Director September 3, 2015 Copyright 2009, Information Builders. Slide 1.
Advanced Excel for Finance Professionals A self study material from South Asian Management Technologies Foundation.
Eric Westfall – Indiana University Jeremy Hanson – Iowa State University Building Applications with the KNS.
1 PHP and MySQL. 2 Topics  Querying Data with PHP  User-Driven Querying  Writing Data with PHP and MySQL PHP and MySQL.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
Systems Module Slide 2 – Overview and Navigation
0 A Workable Solution for Basic Metadata January 9, 2006.
CSCI 6962: Server-side Design and Programming Database Manipulation in ASP.
Systems Analysis and Design in a Changing World, 3rd Edition
1 CA203 Presentation Application Adding Tables, Charts, and Diagrams Lecture # 9 By Tariq Ibn Aziz Dammam Community college.
Introduction to the SAP IMG Interface. Slide 2 Accessing the IMG Use transaction code SPRO or.
Oracle Data Integrator User Functions, Variables and Advanced Mappings
JavaScript Introduction and Background. 2 Web languages Three formal languages HTML JavaScript CSS Three different tasks Document description Client-side.
This document has been submitted on a confidential basis and contains proprietary information belonging to BigMachines, Inc. No part of this document may.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED CREATING A SIMPLE PROCESS.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED INTERSTAGE BPM ARCHITECTURE BPMS.
0 Copyright 2012 FUJITSU Interstage BOP SQL Query Tutorial Todd Palmer October 2012.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED INTEGRATION.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED ADVANCE FEATURES.
Using Ant in Eclipse Dwight Deugo Nesa Matic
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED INTERSTAGE BPM CONSOLE.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED FORMS.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED ADMINISTRATION.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED INTRODUCTION TO INTERSTAGE BPM.
© 2011 IBM Corporation ® Managing Decision services in WebSphere Message Broker using WebSphere ILOG JRules. Amar Shah Mallanagouda Patil December 2011.
2 Copyright © 2008, Oracle. All rights reserved. Building the Physical Layer of a Repository.
Copyright © 2006, Oracle. All rights reserved Rule Engine.
1 Terminal Management System Usage Overview Document Version 1.1.
Section 10.1 Define scripting
Introducing IBM Rational Software Architect
Dive Into® Visual Basic 2010 Express
Studio modeling basics
JavaScript, Sixth Edition
Internet Made Easy! Make sure all your information is always up to date and instantly available to all your clients.
Chapter 2: The Visual Studio .NET Development Environment
Project Management: Messages
Lesson # 9 HP UCMDB 8.0 Essentials
Rob Cramer – BPM Practice Manager
IST 220 – Intro to Databases
Creating Oracle Business Intelligence Interactive Dashboards
Working in the Forms Developer Environment
Featured Enhancements to the IDE & Debugger
CARA 3.10 Major New Features
IBM Rational Rhapsody Advanced Systems Training v7.5
Single Sample Registration
Rules within an Enterprise
This presentation document has been prepared by Vault Intelligence Limited (“Vault") and is intended for off line demonstration, presentation and educational.
CIS16 Application Development Programming with Visual Basic
Introduction to Oracle Application Express
MAX Warranty Tracking Vince Stefanetti, Exact MAX Americas Trainer.
Using JDeveloper.
Electronic Field Study Advanced User Training
Electronics II Physics 3620 / 6620
Teaching slides Chapter 6.
Chapter 11 Describing Process Specifications and Structured Decisions
Using Employee Development in ADP Workforce Now
Java IDE Dwight Deugo Nesa Matic Portions of the notes for this lecture include excerpts from.
Planning a Group Policy Management and Implementation Strategy
Dongwhan Kim Annie Zhao Steven Lawrance
Grauer and Barber Series Microsoft Access Chapter One
eSeries Entities By Julie Ladner
Presentation transcript:

Business rules

Business Rules Business Rules "the language of business" Business logic, policies can be expressed as Business Rules Rules are stored in a repository and shared between activities, processes or even other applications. Business users can modify rules without reprogramming Reduced costs and provides faster turnaround time Increased visibility Business experts have the control instead of technical experts Example If credit rating is between 700-750 and age between 30-35 then APR is 5.6% Business Rules the language the business speaks and understands. Traditionally IT systems represent business rules as embedded programming logic. Changes in the business require changes to the IT System that result in increased costs and time to implement. Through the use of a Business Rules engine imbedded programming logic is extracted out the application and replaced with rules that can be maintained outside of the application by business users. When changes occur in the business rules the business user can make the changes and implement them with little interruption to the IT Systems. Interstage BPM supports integration into ILog and Fair Isaac Blaze Business rules engines and provides built Business Rules support through the use of Decision Tables.

Business Rules Support Interstage BPM supports integration with third party Business Rule Engines (BRMS) Out-of-the-box Actions to integrate with ILog JRules Fair Isaac Blaze Advisor Other third party engines can be integrated using Web Service or Java Interface. In-built support for defining and executing Business Rules Business Rules the language the business speaks and understands. Traditionally IT systems represent business rules as embedded programming logic. Changes in the business require changes to the IT System that result in increased costs and time to implement. Through the use of a Business Rules engine imbedded programming logic is extracted out the application and replaced with rules that can be maintained outside of the application by business users. When changes occur in the business rules the business user can make the changes and implement them with little interruption to the IT Systems. Interstage BPM supports integration into ILog and Fair Isaac Blaze Business rules engines and provides built Business Rules support through the use of Decision Tables.

Business Rule Actions Business Rule actions can be used to easily integrate with Rule Engine Sent Input from UDAs Execute rules at any point during process execution Store result in UDA for further processing. Interstage BPM provides native support for: JRules from iLog; Blaze Advisor from Fair Isaac; and its own Decision Tables. Rules are selected from the Rules Actions dialog in the Action Set tab for many of the Interstage BPM nodes.

Decision Tables 3/21/2018 Decision Tables allow users to create business rules in Studio. Create and package rules with process applications Rules can be shared among all process definitions within the application. Rules are stored in XML format. Organization Application contains Process Definition and “Rulesets” Rulesets contains Decision Tables Ruleset is a logical grouping of DTs Any process definition can access any DT Decision tables are another method of decision making. In Interstage BPM Studio: Decision Tables allow users to create advanced rules without programming; one or more Decision Tables are contained in a Rule Set; and one or more Rule Sets are contained in an Application. Decision Tables examples …

Creating a Decision Table 3/21/2018 Decision Table Editor in Studio provides easy GUI interface to define rules create and manage Decision Tables; and Validate business rules. The Decision Table editor is part of Interstage BPM Studio. It provides the facilities to: create and manage Decision Tables; and validate the business rules that they contain. This slide shows the Decision Table Editor.

Create Rule Set One or more Rule Sets may be created in Application Rule Set stored in Rules Folder Decision Table a e nested inside Rule Sets and Rule Sets reside in the Rules folder which is contained in the Workflow Application. The Rule Set along with the Decision tables within it are available to all the Process Definitions in the Workflow application.

Create Decision Table Create Decision Table – Example “DT 1” Select Rule Set to save Decision Table To create a Decision Table start by selecting the Rule Set folder to relate the rule to and then select Decision Table from the pop-up menu.

Decision Table Elements Name Description Conditions Conditions are “if” part of business rules e.g. “if Customer 'age is between 25-35” Here Customer’s Age will be mapped to a UDA for input Results Are “then” part of business rules e.g. “then APR is 5.6%” APR will be mapped to a UDA for output Decisions Each combination of condition and result form one decision, OR each rule in decision table is considered a decision. A Decision Table is made up of the following elements: Name, Description, Conditions, Results and list of Decisions. The name and description are self explanatory on the next slides will define the Conditions, Results and Decisions.

Defining Conditions Name Description Type Conditions can be defined by using arbitrary names of condition attribute e.g. “Customer Age” A Rule may have multiple condition attributes Each condition attribute is evaluated with “AND” operator in decision execution. Description Used for documentation Type Data type of attribute, this should match the UDA to map

Defining Conditions: Data Dictionary Data Dictionary provides an option to substitute an input value with something else before rule evaluation Substitution may be required in scenarios where data is coming from another system and values used are coded. Data Dictionary Mapping Input value: value of UDA e.g. EXEC Substitute Value: mapping value to be used for rule evaluation e.g. “Executive” Example: Customer Type Executive – EXEC President Club – PRSCLB

Defining Results Define result attribute names and data-types A rule may have multiple result attributes, each maps to a UDA After rule execution, result UDAs are updated. Attribute names can be different from UDA names, mapping is done separately. One or more Conditions and Results can be defined in a Decision Table. A Condition is made up of the following attributes: name, description, type and a Data Dictionary or alias. A Result is made up of a name, description and a type.

Decisions Decisions section is created based on information provided in Condition and Result section. Type-in values to create rules Use operators to create conditions Operators =, !=, <, >, <=, >=, in, between, like, notlike A Decision uses the Condition(s) and Result(s) to form the logic in the Decision Table (rule). The Condition is effectively the “if” of the Decision and the Result is where a value is assigned to the Result(s). Start by clicking the “Add” Button to add a Decision.

Rule Execution Rules in a DT are evaluated sequentially Once a rule matches input condition, execution stops and results are returned. DT does not validate rules for overlapping condition e.g. >=100 and <=100 both conditions will be true for a value of 100 Rule sequence can be changed by using “Up” and “Down” buttons Assign values to each Result in the Decision Table “Decision”. If the loan amounts less then ten thousand return .25, loan amounts between ten thousand and one hundred thousand return .50 and loan amounts over one hundred thousand return .75

Testing Decision Table Test the rule by selecting “Validate Rules” Enter different Condition Values Test and validate the Decision tables decisions by selecting the “Validate Rules” link and add different values to see which rule, i.e. the Decision will be invoked for that value.

Decision Table Java Action Decision tables can be invoked in process definition by adding Decision Table Action at a node or at Process Definition level. iLog JRules (IBM) or Blaze Rules engine can also be connected to execute rules using available Actions Add the Decision Tables Java Action to the Process Definition and then configure it.

Decision Table Java Action Action interface shows all available rules sets and tables within application. Configure: Select Decision Table to execute Map UDAs for Condition attribute Map UDAs for result attribute UDAs are filtered based on Data Type XML UDA can be used to map to String condition with XPath Configure the Decision Tables Java Action by mapping the Decision Tables Conditions and Results fields to the Process Definition’s UDAs. Map loanAmt to creditVolue and percent to assurance. Note only UDAs with the same type will be displayed for the Conditions and Results.

Blaze Advisor Action Blaze Advisor uses “service” and “deployment manager” XML configuration files to connect to engine. In order to invoke Blaze Engine from BPM Generate configuration files in Blaze Copy “.server” and “.dmanager” files in “dms/attachment” folder in application Browse and select server config files Select service name and entry points Note: follow admin guide for setting classpath and other configuration to invoke Blaze from BPM Engine. The Decision Table is displayed on the Process Definition Diagram

iLog JRules Action In order to invoke Blaze Engine from BPM Generate rule file in JRules Copy file in “dms/attachment” folder Browse and select file Note: follow admin guide for setting classpath and other configuration to invoke JRules from BPM Engine. The Decision Table is displayed on the Process Definition Diagram

Interstage BPM Console View View Decision Tables in Interstage BPM Console Browse to application and select the “Settings” tab Select Decision Table to View rules (edit is not allowed in console view) View Decision Tables and their configurations in Interstage BPM Console