SlideShare uma empresa Scribd logo
1 de 27
Baixar para ler offline
Dynamic Web Forms with AngularJS and
Jboss Drools BRMS
October 2015
•  Introductions
•  Why use a Business Rules Management System (BRMS)?
•  When should you use a BRMS?
•  Insurance Business Use Case
•  Dynamic Questionnaire Design
•  Demonstration
•  What’s new in JBoss Drools BRMS
Agenda
Ben-Johann van der Walt– Rules Architect, Vizuri
Architect on many of Vizuri’s Rule engagements, leading projects on both the technical and
analytical side to successfully bridge the gap between business and IT for our clients.
Ken Spokas – BPM/BRMS Practice Lead, Vizuri
Technology and Subject Matter Expert working with
organizations to evaluate architectural approaches, design
extensible solutions, and introduce innovative technologies
to improve business agility.
Introductions
•  Expert Java EE & Open Source Solution Provider
•  Premier Red Hat Business Partner
•  Preferred JBoss Certified Systems Integrator
•  4 Red Hat Innovation Awards
•  5 Time JBoss Middleware Partner of the Year
•  Certified Resources
•  Sponsor DC JBoss Users Group
•  Largest JBoss User Group World-Wide
Vizuri Overview
Bridging Business and Tech
Vizuri Core Strength
◆  Identify strategic business drivers
◆  Understand customer’s business
◆  Evaluate architectural alternatives
◆  Design solutions using proven,
innovative, and adaptable
technologies
◆  Validate designs through iterative
prototyping
◆  Reference Architecture
◆  Continuous Delivery
◆  Design Patterns
◆  Performance
◆  Scalability
◆  Resiliency
Building Extensible Solutions
Business
Strategy
Solution
Architecture
Development
Implementation
A business rule management system (BRMS) enables organizational policies, and
the operational decisions associated with those policies, to be defined, deployed,
monitored and maintained separately from core application code.
Why use a business rule management system?
Problems:
•  Business Rules are hidden in applications
•  It takes too long to change business rules
•  People interpret rules inconsistently
§  Unlock the business rules from the
underlying technology
§  Express rules in terms that the
business analysts can readily
understand – visibility
§  Empower business and IT experts
to collaborate – agility
§  Support compliance by applying
rules to facts – consistency
BRMS Benefits
Complex problems...
•  Highly conditional
•  Logic prone to change
•  High-level of subject matter expertise required
•  Goal is new, still being defined
Traditional code approach not working well
•  Problem is too fragile to approach procedurally
•  Analyst needs insight into implementation
When should you use a Rules Engine?
Compliance, Audit, and Policy Related Business
Processes
§  Insurance Underwriting
§  Health Insurance Eligibility
§  HIPAA
§  SEC Finance Disclosure
§  Mortgage Lending
§  Government Agencies
Related Business Case Examples
Technology OverviewImplementing an Insurance
Application Questionnaire using
JBoss BRMS
Proof-of-Concept
Dynamic Questionnaire Goals
Dynamic Questionnaire Goals
Question
Definitions
Answers that
trigger question
state
Validation
Feedback
Rate
Calculation
Questionnaire Definition
•  Definition powers the view (order, type, required etc.)
•  Question definitions added/updated without coding
Dynamic Question State
•  Answers may hide/show/change questions
Validation Feedback
•  “Simple” validation (e.g. correct data type, required values)
•  “Do Not Bind” decision points (e.g. State not covered)
•  Risk categorization
Rate Calculation
•  Based on risks and attributes, what is the policy rate?
Homeowner’s Policy Questionnaire Requirements
Identified Phases that Rules should be grouped in
1.  Question Construction – Define “blank” questionnaire
2.  Question Display – Changes to questions based on answers
3.  Feedback – Validation messages/errors for answers
4.  Rating Calculation – Policy cost determination
•  Categories can be co-located at design time
•  Can execute in isolation at run time
•  Share a common domain model…
Organizing Rule Sets
Question
•  Generic Question holder
•  Describes display order, data type, is required etc.
•  Hierarchical: “sub-questions”
Property and Address
•  Holders for answers with highly specific attributes
•  E.g. roof age, has swimming pool, zip code
•  Allows expressive rule authoring for display phase
Domain Model – Nouns of the Rules
“Generic” Answer Model
When $answer : Answer ( questionId == 15, integerValue > 25 )
Then ...
“Specific” Answer Model
When $property : Property ( roofAge > 25 )
Then ...
Domain Model – An Interlude
Quote Message
•  Generic holder for feedback on answers
•  Different severities: INFO, WARNING, ERROR
•  Optionally tied to specific data point
Quote
•  Simple holder for calculated premium
Domain Model – Nouns of the Rules continued
Anatomy of an actual rule
1.  Attributes – name, properties, description etc.
2.  When – Condition that activates Rule
3.  Then – Consequence that occurs when
activated
•  Basically, a disconnected “if then” statement
•  Declarative nature promotes breaking a problem
down
•  Singularly focused, powerful as a group
Rules Authoring – Technical Rules
Anatomy of an actual rule
1.  Attributes – name, properties, description etc.
2.  When – Condition that activates Rule
3.  Then – Consequence occurs when activated
•  Basically, a disconnected “if then” statement
•  Declarative nature promotes breaking a problem
down
•  Singularly focused, powerful as a group
Rules Authoring – Technical Rules
Rules Authoring: Guided Rules
Guided Rules
•  Web based format that closely mimics
the underlying Technical Rule
•  Select available custom Domain Model
objects from list
•  Drill down through domain hierarchy and
attribute lists
•  Intelligently provides data inputs based
on attribute types
•  Great for “one-off” Rules
Rules Authoring: Decision Tables
Decision Tables
•  Web-based input with spreadsheet
like format
•  Good for series of similar rules
•  Popular format among Analysts
Rules Authoring: Using a “DSL”
Domain Specific Language
•  Allow custom “building blocks” for
Guided Rules
•  Cookbook of patterns that are specific to
the Condition or Consequence sections
•  Can be used to hide the complexity of
the Rule and Fact syntax
DSL
Guided Rule with DSL
High Level Architecture: Design/Deploy
Want to provide high agility to Rules changes
•  Scan and detect changes without redeployment of server
•  Rules project compiled into specialized JAR
•  Published and resolved using Maven constructs
Rules wrapped in custom ReST API
•  Want UI decoupled from Rules execution
•  Want to free technology choices up for rest of system
•  Growing number of BRMS customers are not Java-centric and
have embraced polyglot IT environments
Business-centric API
1.  Initialize questionnaire
2.  Update questionnaire
3.  Check Eligibility
4.  Calculate Rate
Architectural Goals: Decoupled Runtime
<demo 2.0 />
•  AngularJS look and feel upgrade
•  Domain model is little more generic
•  Guided Scorecard example
•  Improved validation rules
•  General cleanup of code base
Newer things to try out
•  Realtime decision server
•  Guided Decision Tree
•  Optaplanner/Business Resource Planner
•  Improved Fuse integration
•  Can customize the KIE Workbench/Business Central
•  Enhanced EJB/CDI support of the KieSession and TaskService
What’s New in JBoss Drools BRMS
Questions?
Ben-Johan van der Walt
bvanderwalt@vizuri.com
Ken Spokas
kspokas@vizuri.com
Thank You

Mais conteúdo relacionado

Último

How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Developmentvyaparkranti
 
Ronisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited CatalogueRonisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited Catalogueitservices996
 
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...OnePlan Solutions
 
Introduction to Firebase Workshop Slides
Introduction to Firebase Workshop SlidesIntroduction to Firebase Workshop Slides
Introduction to Firebase Workshop Slidesvaideheekore1
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsChristian Birchler
 
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxReal-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxRTS corp
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZABSYZ Inc
 
Post Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on IdentityPost Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on Identityteam-WIBU
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptx
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptxThe Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptx
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptxRTS corp
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringHironori Washizaki
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfMarharyta Nedzelska
 
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLarge Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLionel Briand
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...OnePlan Solutions
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsSafe Software
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Natan Silnitsky
 

Último (20)

How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Development
 
Ronisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited CatalogueRonisha Informatics Private Limited Catalogue
Ronisha Informatics Private Limited Catalogue
 
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
Revolutionizing the Digital Transformation Office - Leveraging OnePlan’s AI a...
 
Introduction to Firebase Workshop Slides
Introduction to Firebase Workshop SlidesIntroduction to Firebase Workshop Slides
Introduction to Firebase Workshop Slides
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
 
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptxReal-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
Real-time Tracking and Monitoring with Cargo Cloud Solutions.pptx
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZ
 
Post Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on IdentityPost Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on Identity
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptx
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptxThe Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptx
The Role of IoT and Sensor Technology in Cargo Cloud Solutions.pptx
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their Engineering
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
 
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLarge Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and Repair
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data Streams
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
 

Destaque

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destaque (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Vizuri BRMS Insurance POC 2.0

  • 1. Dynamic Web Forms with AngularJS and Jboss Drools BRMS October 2015
  • 2. •  Introductions •  Why use a Business Rules Management System (BRMS)? •  When should you use a BRMS? •  Insurance Business Use Case •  Dynamic Questionnaire Design •  Demonstration •  What’s new in JBoss Drools BRMS Agenda
  • 3. Ben-Johann van der Walt– Rules Architect, Vizuri Architect on many of Vizuri’s Rule engagements, leading projects on both the technical and analytical side to successfully bridge the gap between business and IT for our clients. Ken Spokas – BPM/BRMS Practice Lead, Vizuri Technology and Subject Matter Expert working with organizations to evaluate architectural approaches, design extensible solutions, and introduce innovative technologies to improve business agility. Introductions
  • 4. •  Expert Java EE & Open Source Solution Provider •  Premier Red Hat Business Partner •  Preferred JBoss Certified Systems Integrator •  4 Red Hat Innovation Awards •  5 Time JBoss Middleware Partner of the Year •  Certified Resources •  Sponsor DC JBoss Users Group •  Largest JBoss User Group World-Wide Vizuri Overview
  • 5. Bridging Business and Tech Vizuri Core Strength ◆  Identify strategic business drivers ◆  Understand customer’s business ◆  Evaluate architectural alternatives ◆  Design solutions using proven, innovative, and adaptable technologies ◆  Validate designs through iterative prototyping ◆  Reference Architecture ◆  Continuous Delivery ◆  Design Patterns ◆  Performance ◆  Scalability ◆  Resiliency Building Extensible Solutions Business Strategy Solution Architecture Development Implementation
  • 6. A business rule management system (BRMS) enables organizational policies, and the operational decisions associated with those policies, to be defined, deployed, monitored and maintained separately from core application code. Why use a business rule management system? Problems: •  Business Rules are hidden in applications •  It takes too long to change business rules •  People interpret rules inconsistently
  • 7. §  Unlock the business rules from the underlying technology §  Express rules in terms that the business analysts can readily understand – visibility §  Empower business and IT experts to collaborate – agility §  Support compliance by applying rules to facts – consistency BRMS Benefits
  • 8. Complex problems... •  Highly conditional •  Logic prone to change •  High-level of subject matter expertise required •  Goal is new, still being defined Traditional code approach not working well •  Problem is too fragile to approach procedurally •  Analyst needs insight into implementation When should you use a Rules Engine?
  • 9. Compliance, Audit, and Policy Related Business Processes §  Insurance Underwriting §  Health Insurance Eligibility §  HIPAA §  SEC Finance Disclosure §  Mortgage Lending §  Government Agencies Related Business Case Examples
  • 10. Technology OverviewImplementing an Insurance Application Questionnaire using JBoss BRMS Proof-of-Concept
  • 12. Dynamic Questionnaire Goals Question Definitions Answers that trigger question state Validation Feedback Rate Calculation
  • 13. Questionnaire Definition •  Definition powers the view (order, type, required etc.) •  Question definitions added/updated without coding Dynamic Question State •  Answers may hide/show/change questions Validation Feedback •  “Simple” validation (e.g. correct data type, required values) •  “Do Not Bind” decision points (e.g. State not covered) •  Risk categorization Rate Calculation •  Based on risks and attributes, what is the policy rate? Homeowner’s Policy Questionnaire Requirements
  • 14. Identified Phases that Rules should be grouped in 1.  Question Construction – Define “blank” questionnaire 2.  Question Display – Changes to questions based on answers 3.  Feedback – Validation messages/errors for answers 4.  Rating Calculation – Policy cost determination •  Categories can be co-located at design time •  Can execute in isolation at run time •  Share a common domain model… Organizing Rule Sets
  • 15. Question •  Generic Question holder •  Describes display order, data type, is required etc. •  Hierarchical: “sub-questions” Property and Address •  Holders for answers with highly specific attributes •  E.g. roof age, has swimming pool, zip code •  Allows expressive rule authoring for display phase Domain Model – Nouns of the Rules
  • 16. “Generic” Answer Model When $answer : Answer ( questionId == 15, integerValue > 25 ) Then ... “Specific” Answer Model When $property : Property ( roofAge > 25 ) Then ... Domain Model – An Interlude
  • 17. Quote Message •  Generic holder for feedback on answers •  Different severities: INFO, WARNING, ERROR •  Optionally tied to specific data point Quote •  Simple holder for calculated premium Domain Model – Nouns of the Rules continued
  • 18. Anatomy of an actual rule 1.  Attributes – name, properties, description etc. 2.  When – Condition that activates Rule 3.  Then – Consequence that occurs when activated •  Basically, a disconnected “if then” statement •  Declarative nature promotes breaking a problem down •  Singularly focused, powerful as a group Rules Authoring – Technical Rules
  • 19. Anatomy of an actual rule 1.  Attributes – name, properties, description etc. 2.  When – Condition that activates Rule 3.  Then – Consequence occurs when activated •  Basically, a disconnected “if then” statement •  Declarative nature promotes breaking a problem down •  Singularly focused, powerful as a group Rules Authoring – Technical Rules
  • 20. Rules Authoring: Guided Rules Guided Rules •  Web based format that closely mimics the underlying Technical Rule •  Select available custom Domain Model objects from list •  Drill down through domain hierarchy and attribute lists •  Intelligently provides data inputs based on attribute types •  Great for “one-off” Rules
  • 21. Rules Authoring: Decision Tables Decision Tables •  Web-based input with spreadsheet like format •  Good for series of similar rules •  Popular format among Analysts
  • 22. Rules Authoring: Using a “DSL” Domain Specific Language •  Allow custom “building blocks” for Guided Rules •  Cookbook of patterns that are specific to the Condition or Consequence sections •  Can be used to hide the complexity of the Rule and Fact syntax DSL Guided Rule with DSL
  • 23. High Level Architecture: Design/Deploy Want to provide high agility to Rules changes •  Scan and detect changes without redeployment of server •  Rules project compiled into specialized JAR •  Published and resolved using Maven constructs
  • 24. Rules wrapped in custom ReST API •  Want UI decoupled from Rules execution •  Want to free technology choices up for rest of system •  Growing number of BRMS customers are not Java-centric and have embraced polyglot IT environments Business-centric API 1.  Initialize questionnaire 2.  Update questionnaire 3.  Check Eligibility 4.  Calculate Rate Architectural Goals: Decoupled Runtime
  • 25. <demo 2.0 /> •  AngularJS look and feel upgrade •  Domain model is little more generic •  Guided Scorecard example •  Improved validation rules •  General cleanup of code base
  • 26. Newer things to try out •  Realtime decision server •  Guided Decision Tree •  Optaplanner/Business Resource Planner •  Improved Fuse integration •  Can customize the KIE Workbench/Business Central •  Enhanced EJB/CDI support of the KieSession and TaskService What’s New in JBoss Drools BRMS
  • 27. Questions? Ben-Johan van der Walt bvanderwalt@vizuri.com Ken Spokas kspokas@vizuri.com Thank You