32
Rule- and Event-based Processes © 2010 TIBCO Software Inc. 1 Paul Vincent CTO Business Rules and CEP TIBCO Software

Rule and Event-based Processes June2010

  • Upload
    isvana

  • View
    2.580

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Rule  and Event-based Processes June2010

Rule- and Event-based Processes

© 2010 TIBCO Software Inc.

1

Paul VincentCTO Business Rules and CEP

TIBCO Software

Page 2: Rule  and Event-based Processes June2010

Agenda

What are Business Processes and BPM?

© 2010 TIBCO Software Inc.

2

What are Business Processes and BPM?

Page 3: Rule  and Event-based Processes June2010

Driven by events

Modeling + deployment under business control

BPM in 2010

© 2010 TIBCO Software Inc.

3

Some business processMonitoring and optimisation of activities / queues

Orchestration control flow = simple to understand

Page 4: Rule  and Event-based Processes June2010

Unified BPM and SOA Platform

Modeling

Process VisibilityMonitor, Report, Analyze

Resource Performance

User Interface

Team Leader

Work Management

Process Participants

Example State-of-the-art BPM

© 2010 TIBCO Software Inc.

4

Business

AnalystProcess Develop

er

Executable Models

Process Management

SOA IntegrationSOA

Developer

Business Services

Process Performance

Business Analyst

Team Leader

Business Manager

Business Data

Work

Leader

4

Page 5: Rule  and Event-based Processes June2010

Unified BPM and SOA Platform

Modeling

Process Visibility

Monitor, Report, Analyze

Resource Performance

User Interface

Team Leader

Work Management

Process Participants

Benefits of state-of-the-art BPM

Optimizes the most expensive resource in

the process, ie people, + how they perform

Platform for lower operational TCO

while modeling the enterprise

© 2010 TIBCO Software Inc.

5

Business

AnalystProcess Develop

er

Executable Models

Process Management

SOA IntegrationSOA Developer

Business Services

Process Performance

Business Analyst

Team Leader

Business Manager

Analyze

Business Data

Work

Leader

Simplify process development

+ fast, iterative

approach + delivers rapid ROI

Insight into process

performance to make

better decisions

Automate STP

business processes

(e.g. common workflow

patterns)

Seamlessly leverage existing assets

5

Page 6: Rule  and Event-based Processes June2010

BUT

Not all processes and activities are easily defined as an “orchestration”

or flow

© 2010 TIBCO Software Inc.

6

Or a procedure

Or any other linear sequence of activities

Page 7: Rule  and Event-based Processes June2010

Specialist Business Processes...

Complex Event Processingprovides alternative

business process viewpoints

Complex events

© 2010 TIBCO Software Inc.

7

Complex events

Event-based decisions

via a more generic, declarative Event-Decision-Action pattern

Page 8: Rule  and Event-based Processes June2010

CEP principle 1: Faster Information for Faster Decisions

Potential Business Value

Business Event

Events are “indicators”

Event Processing provides faster

responses

© 2010 TIBCO Software Inc.

8

Potential Business Value

Resulting Complex Event Measured

Root Cause / Correlation

Corrective Decision Made

Action Taken

Action time

Page 9: Rule  and Event-based Processes June2010

The BusinessEvent Cloud

CustomerLogon

Fed Base RateIncrease

CustomerChecks

Close AccountWeb Page

NewOrder

Contract

© 2010 TIBCO Software Inc.

9

9

ProductionItem

Arrives at Store

NewLiabilityAdded

RentalCar

Returned

ContractSubmitted

ContractReturnedthru EDIRental

CarCrashed

Mobile Callfrom [email protected]

Page 10: Rule  and Event-based Processes June2010

CEP principle 2: Context / Exceptions => Better Decisions

Fraud Risk!

Risk of CustomerDefection

CustomerCrossSell

Opportunity

Change inProduct Sales

Trend

Contract

© 2010 TIBCO Software Inc.

10

10

EmployeeOver hours

ComplianceLimit

Approached

Customernow rated

Gold

ContractValidated

ContractValid

RentalContract Complete

Cell phonefraud alert

Page 11: Rule  and Event-based Processes June2010

Result: processes for Operational Intelligence

• Event Processing is leading to new real-time business software capabilities

• Situation awareness, track and trace, sense and respond…

• EDA provides a superset of SOA and BPM core capabilities

Enables real-time responsiveness for better decisions

© 2010 TIBCO Software Inc.

11

• Enables real-time responsiveness for better decisions and predictability leading to competitive advantage, risk management, better governance

Page 12: Rule  and Event-based Processes June2010

Agenda

Shared patterns for BPM and CEP?

© 2010 TIBCO Software Inc.

12

Shared patterns for BPM and CEP?

Page 13: Rule  and Event-based Processes June2010

Event

Generalization of a Process

Decision Action

© 2010 TIBCO Software Inc.

13

BPM

Page 14: Rule  and Event-based Processes June2010

Event

Generalization of a Process

Decision Action

© 2010 TIBCO Software Inc.

14

CEP

Complex Event

Business Logic

Fixed Services + Processes

Page 15: Rule  and Event-based Processes June2010

CEP-driven Business Processes

eventsEvent Transport & Distribution

© 2010 TIBCO Software Inc.

15

Pattern Detection

Event & State store

Decisions Reactions

Page 16: Rule  and Event-based Processes June2010

Complex Event Processing

Roles:

© 2010 TIBCO Software Inc.

16

16

Sense and RespondTrack and Trace

Situational Awareness

Page 17: Rule  and Event-based Processes June2010

General Architecture for Event Processing

complex events

Asynchronous

Events

Continuous &

parallel event

pattern detection

simple events

Declarative

processing

© 2010 TIBCO Software Inc.

17

BPM: business process

SOA: IT

services

CEP: complex

event processing

State store

Multiple event

types / channels

Orchestrated /

procedural processing

Page 18: Rule  and Event-based Processes June2010

Agenda

What technologies are used in such

© 2010 TIBCO Software Inc.

18

What technologies are used in suchComplex Event Processing?

Page 19: Rule  and Event-based Processes June2010

Event Sources

eventsPublish-subscribe /

queue-based:

JMS-TIBCO EMS

eventchannels

© 2010 TIBCO Software Inc.

19

Others

TCP-IP

SOAP over HTTP

RVPattern

Detection

Event & State store

-TIBCO EMS - IBM MQ etc

Decisions Reactions

Page 20: Rule  and Event-based Processes June2010

Event Pattern Detection and Processing

eventsEvent Transport & Distribution

© 2010 TIBCO Software Inc.

20

Pattern Detection

Event & State store

Decisions Reactions

State Transitions

ContinuousQueries

Pattern RegEx

Event Rules

Page 21: Rule  and Event-based Processes June2010

Event Pattern State Management, FT, DR

eventsEvent Transport & Distribution

© 2010 TIBCO Software Inc.

21

Pattern Detection

In-memory

Decisions Reactions

Distributed Cache

DBMS

Page 22: Rule  and Event-based Processes June2010

Decisions and Rules against Event Patterns

eventsEvent Transport & Distribution Decision/

Rule Management

© 2010 TIBCO Software Inc.

22

Pattern Detection

Event & State store

Decisions Reactions

Event Rules

Inference Rules

Management

Page 23: Rule  and Event-based Processes June2010

Reactions to Event Patterns

eventsEvent Transport & Distribution

© 2010 TIBCO Software Inc.

23

Pattern Detection

Event & State store

Decisions Reactions

Other Services and Processes –SOA + BPM

Page 24: Rule  and Event-based Processes June2010

Agenda

Example Use Cases

© 2010 TIBCO Software Inc.

24

Example Use Cases

Page 25: Rule  and Event-based Processes June2010

Where does CEP apply?

“CEP applies to a very broad spectrum of challenges in information systems. A short list includes:”

�Business process automation

�Computer systems to automate scheduling and control network-based

© 2010 TIBCO Software Inc.

25

scheduling and control network-based processes and processing

� Identifying when complex contracts are fulfilled

�Detection intrusion, fraud and other network attacks

�C3I

25

The Power of Events, Addison Wesley, ISBN: 0-201-72789-7, 2002

Page 26: Rule  and Event-based Processes June2010

Shipping Company OOCL report from TUCON 2010

Shipment container track and trace:Monitoring shipment milestones and invokingappropriate processes

Simple and Complex processesdecision rules + simple actionsvs decision rules + BPEL / BPM actions

© 2010 TIBCO Software Inc.

26

vs decision rules + BPEL / BPM actions

8k shipments, 100 average shipment lifecycle days, 2 containers per shipment, 64 milestones per container = 54 million active milestones, @ max 60 events/sec

Page 27: Rule  and Event-based Processes June2010

Shipping Company OOCL

1. Implementation#1 = J2EE8 ppl => 8 mths to implement 100+ milestones=> 0.05 person yrs per milestoneBUT rule change expensive

2. Implementation#2 = Oracle BPEL

© 2010 TIBCO Software Inc.

27

2. Implementation#2 = Oracle BPEL 3ppl + Oracle => 4 mths to implement 3 of 100+ milestones=> 0.5 person yrs per milestone

Page 28: Rule  and Event-based Processes June2010

Shipping Company OOCL

1. Implementation#1 = J2EE8 ppl => 8 mths to implement 100+ milestonesBUT rule change expensive

2. Implementation#2 = Oracle BPEL 3ppl + Oracle => 4 mths to implement 3 of 100+ milestones

© 2010 TIBCO Software Inc.

28

3ppl + Oracle => 4 mths to implement 3 of 100+ milestones

3. Implementation#3 = TIBCO CEP3ppl + 1 TIBCO => 3wks POC + 2mths to implement 100+ milestones+ 4mths tuning=> 0.02 person yrs per milestone

Page 29: Rule  and Event-based Processes June2010

Shipping Company OOCL

Benefits: a. Declarative model is very elegant for certain problems. b. Increased agility: new milestones can be added without

technical assistance.

ROI:

© 2010 TIBCO Software Inc.

29

ROI: difficult to compute given recession / shipping downturn. But one example:Replaced rail billing process: @20K rail bill requests per mth Old: manual process New: 98% automated process in BEDevelopment cost $80K vs benefit $50K per mth = ROI in 2 mths

Page 30: Rule  and Event-based Processes June2010

Agenda

Conclusions

© 2010 TIBCO Software Inc.

30

Conclusions

Page 31: Rule  and Event-based Processes June2010

Pattern

CEP covers generic Use Cases outside of BPM

events

Actions

CEP

© 2010 TIBCO Software Inc.

31

Pattern Detection Decisions

Actionsand Views

Complex Event Detection

Real-timeDecisions

Real-timeDashboards

and BAM

Straight Thru Processing

BPM

Straight Thru Processing

Workflow

Page 32: Rule  and Event-based Processes June2010

Using CEP = A Better Way to Fly a Business

Analytics on

ShipmentsComparisons

To SLA’s

Business Risk event Pattern

Real time Operations Dashboard

© 2010 TIBCO Software Inc.

32

Thank you for your time

http://tibcoblogs.com/cep