what analysts need to understand about business events - v1.2
DESCRIPTION
Presentation made at Business Rules Forum 2011 on modelling business events.TRANSCRIPT
![Page 1: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/1.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
WHAT ANALYSTS NEED TO UNDERSTAND ABOUT
BUSINESS EVENTS...
Paul Vincent, TIBCO Software
![Page 2: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/2.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
What we shall cover in this session
1. What are “events”…
Business building blocks: events, processes
2. Events in Business Analysis
Events in REA, EPC etc
3. Identifying Events in Business Processes Events in Processes, BPMN
4. Events as Goals Can we detect other events of interest? Can we predict events?
5. The trend to Event-Driven Corporations and Vendors moving in this direction…
![Page 3: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/3.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
What are Events?
![Page 4: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/4.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
What do we mean by “Event”
• Observation or some Happening
– “customer order arrived”
– “policy form completed”
– “policy form checked as valid”
• Change in State
– “policy activated”
– “customer order processed”
– “goods in-transit”
• Message
– Customer order message
– Stock situation update
– New policy for new product
![Page 5: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/5.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
Why Do We Care About Events?
• Life is event-driven. People are event-driven.
Customers are event-driven.
– Learning to ride a bicycle
– Responding to flame and fire
– Crossing the street
– Purchasing food
• Government & Business is also event-driven
• Traditional IT systems are less so
– Batch
– … but this is changing
![Page 6: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/6.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
Events are one of the fundamentals of
business systems
• Process tasks / work
• Actor / Role
• Time
• Input / output Data
• Events
Some item of work
Occurs over some time / at some time
Start Event + End Event Progress Event Data Access Event Timeout Event ....
Data IO
![Page 7: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/7.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
How can I model Events at the business-appropriate level?
![Page 8: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/8.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
Business Models for Events
• Event Classifications
– E.g. List all customer events
– E.g. List all events that affect a customer contract (/entity)
– E.g. List all events that need procedure statements / documented actions
– GOOD: initial starting point
– BAD: what is the context?
![Page 9: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/9.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
1. State Models
• A “lifecycle” model
• Relates events to states of some entity
– E.g. Customer: prospect, customer, ex-customer, repeat-customer, ...
• GOOD: easy to relate to, common standard (UML)
• BAD: what aspect / characteristic should “state” refer to? Status with
respect to what?
Level of detail or granularity?
“UML is an IT standard and
therefore not relevant to me”
![Page 10: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/10.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
2. Event Process Chain Models
• A high-level process model
• Relates events to functions (processes)
– E.g. Customer: receive order, check stock, ...
• GOOD: simplistic process model
• BAD: high level detail only
Not a standard (Aris)
![Page 11: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/11.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
3. Resources Events Agents (REA) Models
• A resource model
• Relates economic (increment and decrement) events between agents
– C.f. transactions
– E.g. Customer: receives-goods, provides-money, ...
• GOOD: maps to organisation (agents)
supports value-chain perspective
• BAD: economic aspect
might be limiting
![Page 12: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/12.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
How can I model Events at the “process” level?
![Page 13: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/13.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
4. Business Process (BPMN) Models
• A process / task model
• Relates events as drivers of process tasks
– E.g. Customer: application-received, application-confirmed, ...
– Also: events of process-start and process-end
• GOOD: relates to activities
• BAD: simple orchestrated
processes only
![Page 14: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/14.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
BPMN is the Pro Standard for Process Models
• 63 types of event!
– Message
– Timer
– Escalation
– Conditional
– Link
– Error
– Cancel
– Compensation
– Signal
– Multiple
– Parallel Multiple
– Terminate
![Page 15: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/15.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
Event Analysis
![Page 16: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/16.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
What are events in our business / systems?
Source: http://en.wikipedia.org/wiki/Use_case
![Page 17: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/17.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
Events of Interest
• Fraud / Theft
– Thousands-millions of high-value small-size product items
– Complex production & supply chain
• Logistics / Scheduling
– Raw material, production & delivery scheduling and
resources
• Activity Monitoring
– Complex production and supply process with multiple
actors
Product location
change
Relevant event of interest
Resource, requirement
change
Resource, requirement
change
![Page 18: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/18.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
Event identification / discovery
1. Identify actors and roles
2. Identify what they do
and when they do it
3. List the events
+ sources and destinations
+ preconditions
+ timescale for usage
![Page 19: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/19.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
Events Usage
Note – is this event
related to a
process
or a
lifecycle?
![Page 20: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/20.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
Events as Goals
![Page 21: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/21.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
Events of Interest
• Fraud / Theft
– Thousands-millions of high-value small-size product items
– Complex production & supply chain
– How do you identify known patterns of “suspicious”
behavior?
• Logistics / Scheduling
– Raw material, production & delivery scheduling and
resources are complex, human- and time-dependent, and
prone to change
– Changes and production switches can lead to
misallocation of resources - How do we do this better?
• Activity Monitoring
– Complex production and supply process with multiple
actors
– Key Performance Indicators need to be directly actionable
Product location
change
Relevant event of interest
Resource, requirement
change
Resource, requirement
change
![Page 22: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/22.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
Classifying Events
• Positive Events
– Product item X arrives at Production station S from Store T
– Production worker Y arrives at Production station S
– Production contract for item Z by time T is posted
• Negative Events
– Product item X has been in transit to Store T for >15 minutes
– Subcomponent Y hasn’t arrived at the Production station by the ETA
– Delivery of contract Z has not taken place
• Sets of Events
– 5+ items of Product item type Y failed to arrive at destination
– Supplier Y was 5 mins late for 1 delivery, but made it early to the next
– Return rate on component Z exceeds SLA %
Reinforcement events
Weakening events
Missing events
Aggregate events
![Page 23: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/23.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
What Events do you Really Want to Find?
• Customer Service Failure
• Customer Churn
• Equipment Failure
• SLA Exceeded
• Sales Opportunity
• Improve Customer Satisfaction Opportunity
• Reduce cost-of-business opportunity
• ...
These are not simple events
![Page 24: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/24.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
Event Definitions vs Business Rules
• Capturing Business Rules from Business Processes:
Example = “Spontaneous Event Initiating a Process”
• Pattern Question: what specific conditions produce a spontaneous
event that initiates a business process?
Assign
Investigator
Upon
Suspicion
of Fraud
Building Business Solutions:
Business Analysis with Business Rules
Ch7 Business Rules and Business Process Models
R Ross and G Lam, 2011
![Page 25: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/25.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
Introducing “Complex Events”
![Page 26: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/26.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
EPTS Event Processing Reference Architecture
Event Production Application Time
Publication, Retrieval
Event Preparation Identification, Selection, Filtering,
Monitoring, Enrichment
Complex Event Detection Consolidation, Composition,
Aggregation
Event Reaction Assessment, Routing, Prediction,
Discovery, Learning
Event Consumption Dashboard, Apps, External Reaction
Event Analysis Analytics, Transforms, Tracking, Scoring, Rating, Classification
0..*
0..*
0..*
0..*
Sta
te M
an
ag
em
en
t
![Page 27: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/27.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
Event Channels
Event Production Application Time
Publication, Retrieval
Event Preparation Identification, Selection, Filtering,
Monitoring, Enrichment
Complex Event Detection Consolidation, Composition,
Aggregation
Event Reaction Assessment, Routing, Prediction,
Discovery, Learning
Event Consumption Dashboard, Apps, External Reaction
Event Analysis Analytics, Transforms, Tracking, Scoring, Rating, Classification
0..*
0..*
0..*
0..*
Sta
te M
an
ag
em
en
t Where do events come from,
and where to they go?
(producers, consumers)
![Page 28: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/28.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
Event Preparation
Event Production Application Time
Publication, Retrieval
Event Preparation Identification, Selection, Filtering,
Monitoring, Enrichment
Complex Event Detection Consolidation, Composition,
Aggregation
Event Reaction Assessment, Routing, Prediction,
Discovery, Learning
Event Consumption Dashboard, Apps, External Reaction
Event Analysis Analytics, Transforms, Tracking, Scoring, Rating, Classification
0..*
0..*
0..*
0..*
Sta
te M
an
ag
em
en
t
What selection operations do I need to perform?
![Page 29: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/29.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
Event Analysis
Event Production Application Time
Publication, Retrieval
Event Preparation Identification, Selection, Filtering,
Monitoring, Enrichment
Complex Event Detection Consolidation, Composition,
Aggregation
Event Reaction Assessment, Routing, Prediction,
Discovery, Learning
Event Consumption Dashboard, Apps, External Reaction
Event Analysis Analytics, Transforms, Tracking, Scoring, Rating, Classification
0..*
0..*
0..*
0..*
Sta
te M
an
ag
em
en
t What computations
do I need to perform?
![Page 30: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/30.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
Complex Event Detection
Event Production Application Time
Publication, Retrieval
Event Preparation Identification, Selection, Filtering,
Monitoring, Enrichment
Complex Event Detection Consolidation, Composition,
Aggregation
Event Reaction Assessment, Routing, Prediction,
Discovery, Learning
Event Consumption Dashboard, Apps, External Reaction
Event Analysis Analytics, Transforms, Tracking, Scoring, Rating, Classification
0..*
0..*
0..*
0..*
Sta
te M
an
ag
em
en
t
What event correlations or patterns do I need to find?
![Page 31: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/31.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
Event Reaction
Event Production Application Time
Publication, Retrieval
Event Preparation Identification, Selection, Filtering,
Monitoring, Enrichment
Complex Event Detection Consolidation, Composition,
Aggregation
Event Reaction Assessment, Routing, Prediction,
Discovery, Learning
Event Consumption Dashboard, Apps, External Reaction
Event Analysis Analytics, Transforms, Tracking, Scoring, Rating, Classification
0..*
0..*
0..*
0..*
Sta
te M
an
ag
em
en
t
What event actions do I need to perform?
![Page 32: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/32.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
Event Lifecycle
Event Production Application Time
Publication, Retrieval
Event Preparation Identification, Selection, Filtering,
Monitoring, Enrichment
Complex Event Detection Consolidation, Composition,
Aggregation
Event Reaction Assessment, Routing, Prediction,
Discovery, Learning
Event Consumption Dashboard, Apps, External Reaction
Event Analysis Analytics, Transforms, Tracking, Scoring, Rating, Classification
0..*
0..*
0..*
0..*
Sta
te M
an
ag
em
en
t
Listing / id change
Nth Listing in time m
Match id change to new listing risk
Score as high risk
Invoke AntiFraud Procedure
![Page 33: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/33.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
Business Models for Events...
![Page 34: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/34.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
5. Event Dependencies
• Expressions of event orderings
• Relates events together as meaningful facts
– E.g. Customer application-started
followed by a Custom web session-timeout within 20minutes
but not followed by a Customer application-completed within 20 minutes
• GOOD: relates events to events
• BAD: not a common practice in modelling OR technology
![Page 35: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/35.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
What Businesses are taking an Event-Driven Approach?
![Page 36: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/36.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
A Simpler Model for Processing Business Events
![Page 37: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/37.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
FedEx
“We need Event Decision-making Capabilities ... “
“That’s where we are moving to
event-oriented systems ...”
“We need to make very real-time decisions
about these shipments... “
![Page 38: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/38.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
You need to find the light at the end of ...
...the Decision Tunnel.
![Page 39: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/39.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
AllState
“We feed the ESB business events to our process
and CEP engines, and to our Data Warehouse.”
“... We have 800 [CEP] rules engines
and its the
fastest growing [service] technology we use...”
“... We monitor BAM reports to change rules
overnight...
and increased closing rates by 15%”
![Page 40: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/40.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
Forrester
![Page 41: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/41.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
Something to think about...
• We want agile processes
– Respond to change
• We want agile decisions
– Change over time?
• Process changes + rule changes
are
Events!
• Change process / performance
monitoring are related / can be
managed...
![Page 42: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/42.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
Summary:
Analyzing “business events” = Good
Exploiting “business events” = Better
![Page 43: What analysts need to understand about business events - v1.2](https://reader031.vdocuments.net/reader031/viewer/2022022404/54591350b1af9f39378b584d/html5/thumbnails/43.jpg)
© Copyright 2000-2011 TIBCO Software Inc.
Q&A