Upload
isvana
View
2.580
Download
0
Tags:
Embed Size (px)
Citation preview
Rule- and Event-based Processes
© 2010 TIBCO Software Inc.
1
Paul VincentCTO Business Rules and CEP
TIBCO Software
Agenda
What are Business Processes and BPM?
© 2010 TIBCO Software Inc.
2
What are Business Processes and BPM?
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
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
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
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
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
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
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]
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
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
Agenda
Shared patterns for BPM and CEP?
© 2010 TIBCO Software Inc.
12
Shared patterns for BPM and CEP?
Event
Generalization of a Process
Decision Action
© 2010 TIBCO Software Inc.
13
BPM
Event
Generalization of a Process
Decision Action
© 2010 TIBCO Software Inc.
14
CEP
Complex Event
Business Logic
Fixed Services + Processes
CEP-driven Business Processes
eventsEvent Transport & Distribution
© 2010 TIBCO Software Inc.
15
Pattern Detection
Event & State store
Decisions Reactions
Complex Event Processing
Roles:
© 2010 TIBCO Software Inc.
16
16
Sense and RespondTrack and Trace
Situational Awareness
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
Agenda
What technologies are used in such
© 2010 TIBCO Software Inc.
18
What technologies are used in suchComplex Event Processing?
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
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
Event Pattern State Management, FT, DR
eventsEvent Transport & Distribution
© 2010 TIBCO Software Inc.
21
Pattern Detection
In-memory
Decisions Reactions
Distributed Cache
DBMS
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
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
Agenda
Example Use Cases
© 2010 TIBCO Software Inc.
24
Example Use Cases
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
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
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
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
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
Agenda
Conclusions
© 2010 TIBCO Software Inc.
30
Conclusions
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
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