Developing Complex Business Rules with Drools Integration

Post on 05-Dec-2014

2.444 views 0 download

description

Create rich and dynamic rule driven business process applications with the Bonita Open Solution BPM Suite. Learn how to add business rules to your process transitions easily with decision tables in the Bonita Studio for process modeling, and for more complex rules, use the Drools Connector to call shared rules.

Transcript of Developing Complex Business Rules with Drools Integration

1

Developing Complex Business Rules with

Drools Integration

04/10/2023 2

WELCOME: MEET YOUR HOSTS

Ronak Services

Vivecca Marketing

AGENDA

10/04/2023 3

Bonita Open Solution Overview

How Business Rules Support Business Decisions

Examples of Use Cases

Live Demo of Business Rules & Drools Integration

4

WHO ARE WE?

Background on BonitaSoft

5

#1 GROWING BPM PROVIDER

•1,700,000 DOWNLOADS

•25,000 COMMUNITY MEMBERS

•500+ CUSTOMERS

•100 EMPLOYEES

•60 TECH & SI PARTNERS

AWARDS

400 CUSTOMERS IN 50 COUNTRIES

Read case studies on featured customers Old Dominion University & Konica Minolta

7

7

• Shared repository• Development productivity• Documentation generation• Search• Custom reports & dashboards

• LDAP synchronization• Secure graphical Web Services discovery

• Salesforce Connector• Built-in document mgmnt.• Generate PDF from data• Custom look-n-feel

• Gold professional support

• Custom profiles• Process templates:HR, Finance, Quality& IT management

• Enterprise document management (CMIS)

• SAP Connector

• Gold or platinum professional support

• Resource monitoring• Process monitoring• Error management

• Gold or platinum professional support

• Graphical modeling • User preferences• Connectors, e.g.: Email, Secure Web Services, Drools

• Form designer• BPMN 2.0• Versioning• Simulation• Multi-tenancy• Widget hints, tooltips• Online documentation• User guidance

Collaborative environments Advanced environments Mission-criticalFor first projects

BONITA OPEN SOLUTION EDITIONS Subscription Packs

Open Source Teamwork Efficiency Performance

Teamwork

+ Efficiency

+

BONITASOFT SUBSCRIPTIONS

Team collaboration• Shared repository• Productivity features

Business driven• Process templates• Custom profiles

Mission-critical• Monitoring• Error management

Subscription Packs• Commercial license• Professional Support• Software Upgrades

Bonita Open Solution• Open source license• Free of charge• Community support

9

9

COMMERCIAL OFFERINGSWe support your projects and accelerate their success

• Professional Services- Training- Certification in development and administration- Consulting: On-Site or Remote

• Annual Subscription Pack (SP)- Gold or Platinum Technical Support - Features to facilitate collaboration, speed development, aid testing and deployment

10

10

CUSTOMER SUPPORT LEVELS

Support levels Gold Platinum

Support Hours 9am to 5pm on business days 24/7

Number of Contacts 2 5

Support Portal Yes Yes

Phone Support No Yes

Number of Cases Unlimited Unlimited

Initial Response Time (S1) 3 business hours 2 hours

Patches Yes Yes

Online Resources Getting started guides Full access to Knowledge

Base

Business Decisions and Business Rules

BUSINESS PROCESS DEFINED

A business process is a flow of decision-

coordinated activities, conducted by

participants and acting on data, information and knowledge that

reach a goal.

WHY BUSINESS RULES

Protects against inconsistent data

Saves time by removing need for human calculations and interactions

Knowledge transfer and centralized Knowledge repositories

SCENARIOS FOR BUSINESS RULES

• General rules that apply to all business activities

• Specific rules that only apply to specific situations or transactions

• Rules that constrain transactions between business entities or processes

• Rules that define or constrain relationships between business entities or processes

• Rules that define or constrain business events

• Rules the derive business facts

• Rules that require certain actions in specific situations

• Rules that forbid certain actions in specific situations

Real World Examples

REAL WORLD EXAMPLE

Old Dominion University uses business rules to route account request tickets to various stakeholders and departments.An account may need supervisor, budget unit director, data owner, system owner approval or any combination of the above. Some requests might only need supervisor approval while others require data and/or system owner approval.Read the complete case study: STREAMLINING THE ACCOUNT REQUEST PROCESS AT OLD DOMINION UNIVERSITY

REAL WORLD EXAMPLEAn Insurance Company

This company uses Bonita Open Solution to manage standard insurance claims processing. Hundreds of scanned requests are received daily and routed to the appropriate customer service claims processor via complex business rules built into Bonita’s Java based engine.

Demo Overview

OVERVIEW OF PROCESS IN DEMO

A supplier calculates the discounts for their product depending on the value of a contract. The rates are: • 10% for a contract with a value of more than $50,000  • 5% discount for a contract between $10 and $50,000• No discount if the contract is less than $10,000

After negotiated, the cost for shipping their product in the United States based on three US geographies: • East Coast ($100), West Coast ($200) and Mid West ($300)

After this, the tax rate is calculated based on these respective geographies:• East Coast (7%), West Coast (8.5%) and Mid West (6%)

Scenario: A Procurement Process

RULES APPLIED IN DEMO EXAMPLE

Calculate discount (%)

Calculate shipping

Calculate tax

STEPS

Model the Procurem

ent Process

Construct condition

Drools Iimplementation

Get input parameter

Generate the list of

facts

Apply the rules on the list of

facts

Show the resulting list of fact with the

rules applied to

them

HOW TO CONSTRUCT DROOLS BUSINESS RULES IN BOS

• Data Model • Write drl (rule) file• Build  Knowledge Base• Model the process based application • Configure Drools connector

Live Demo!

10/04/2023 25

YOUR QUESTIONS ANSWERED

26

THANK YOU, AND…Stay connected with us!

CORPORATE WEBSITE• Product & Services descriptions

• References & Use Cases

• Webinars & White papers

twitter.com/bonitasoft

facebook.com/bonitasoftbpm

linkedin.com/groups?gid=3182097

youtube.com/bonitasoft

OPEN SOURCE COMMUNITY• Forums

• Contributions

• Source Code