SlideShare a Scribd company logo
1 of 21
Consiglio Nazionale delle Ricerche
Istituto di Calcolo e Reti ad Alte Prestazioni

Towards Self-Adaptation and
Evolution in Business Process
Luca Sabatucci

15 Ottobre 2013
BPMN
Commercial workflow engines follow the
plan as in the blueprint (BPMN, BPEL)
The execution model is based on the
petri-net model: token and activation
•
Self-Adaptive Workflows
•

In current workflow systems,
• a unexpected situation generates a fail to the
standard plan,
• alternative plans can not be autonomously
considered

•

In order to enable self-adaptation,
• rigid constraints of a workflow must be relaxed
• plans should be searched in a broader solution
space.
Our Approach
FROM BPMN to Goals
Decoupling WHAT and HOW
We

desire that BPMN is used for

◦ describing the result to address,
◦ not “how to address it”
We

use a Goal-Oriented approach
GoalSPEC: a language to describe
business goals to delegate to the system
Goal in GoalSpec
Goal
TRIGGERING CONDITION
The state of the world that
must hold because the goal
becomes active

ACTOR LIST
Who is responsible

FINAL STATE
The state of the world that
must be true for considering
the goal addressed

In oorderto des
In rder to des ibe
cr
cr
Trigggercco dit ibe
Tri ger onndit n
io n
io
andd
an
FFinalstaate
inal st te
weeuusean oo to
w se an nnto gica
lo gicalapppro h
lo l ap roac h
ac

(WHEN MESSAGE book_request(Book)
RECEIVED FROM THE Client ROLE
AND WHEN available(Book) )
THE Clerk ROLE SHALL ADDRESS
book_checkout(Book,Client)
(BookManagment example)

Each goal in GoalSPEC
Each goal in GoalSPEC
defines aa
defines
ition,
desireddStateeTrans ition,
desire Stat Trans
G:TC -> FS
G:TC -> FS
Extracting GoalSPEC from BPMN
The workflow execution may be seen as a

finite set of state transitions from the
start event to the end event.
Where: each FlowNode generates a
single step of the transition
We identify intermediate transitions
Examples
Every FlowNode potentially impacts the state
of the workflow
WHEN completed(client_credential)
THE user role SHALL ADDRESS
( done(booking) AND sent(receipt,client) )
OR error(booking)

AFTER 1 hour SINCE WHEN done(login)
OR WHEN user_number > MAX_USERS
OR WHEN thrown(stopping_signal)
THE user role SHALL ADRESS
done (logout)
THE Agent ARCHITECTURE
Why Software Agents
Agents encapsulate autonomy and

proactivity.
Agents ground on the classic AI loopmodel: sense – reason – act
BDI agents represent a good abstraction
for self-awareness and contextawareness
MAS are a flexible and powerful method
for distributed reasoning
The BDI Architecture
(mental states)

Agent1

Agent2

AgentN

(plans)

(act and perceive)

Environment

13
Context-Awareness and SelfAwareness
•

Proactive contextual matching of the
behavior (how) with expected results (what)

•

The agent must be able to reason
• on evolving business goals
• on the execution context
• on its capabilities
The Self-Aware Agent
SYSTEM GOALS

Self-Aware agents
knows:
•system goals
•their own execution
state
•their capabilities and
how capabilities can be
used

(means-end
reasoning)

CAPABILITIES

Agent1

Agent2

AgentN

(plans)

(UI)

Capability encapsulat
es
the ability to manipulat
e
resources, to call web
services or to interact
with humans

Environment

System goals
derive from business
analysis, when some
business goal is
delegated to the
system

t)
en
tm
mi
m
(co

(UI)

Resources
(databases, …)

Business
Analyst

Web Service

Web Service

Workflow
User
15
Self-Organization Algorithm
Goal commitment is a social activity
Each goal prescribes a state transition (TC ->

FS)

Agents may own capabilities for addressing

sub-transitions (sinput -> soutput)

A Solution is a decomposition of the main

transition TC -> FS into a set of sub-transitions

A Team prescribes a collaboration among many

agents, and it is regulated by contracts and
rewards.
A solution is a set of potential contracts for addressing sub-goals:
contract( potential commitment, curriculum, request income)

TThealalgori m
he gorith
thmfor
distriribute an forsearching gsolutitions is
dist butedd an re searchin solu ons is
dd recursiv
cursivee

system-goal
goal-set

{TC | FS}

sub-goal
G1..G5
G1

G2

{TC | IS1}

AGENTS

G3

{IS1 | IS2}

{IS2 | IS3}

G5

{IS3 | IS4}

I may
commit
to G3

A1

ch
Agents tries sto mat ch
Agents trie to mat goal
s
their rcapacicitieswith goal
thei capa tie with
transitionnTC -> FS
transitio TC -> FS
de IF
Agents alalsodecicide IF
Agents so de
the
PARTICIPATEEto the
PARTICIPAT to H
solutionnanddWHIC H
solutio an WHIC
PART play in it,
PART play in it,
r
depending gon thei r
dependin on thei
workinngqueuee
worki g queu

G4

AN

Aj

Recursionnstops w
Recursio stops w n no
he
he
solutionnisisdiscover n no
solutio
discoveeddor in
re or in
theetrivivialcase of nu
th tr ial case of nu
ll ll
transition
transition

contract( {IS2 | IS3}, my_curriculum, 1)

backward-goal

decompose and recursively
search sub-goals

{TS | IS2}

A1

A2

{IS4 | FS}

forward-goal

{IS3 | FS}

AN

A1

A2

AN

ay be
Many ysolutions m ay be
Man solutions m
discovered. .
discovered
alu ed
ev ated
Each solutionnisisev aluat
Each solutio
according gto: :
accordin to
ts’
completeness,s,agen ts’ )
completenes agen cost )
tal
st
reputationnanddto tal co
reputatio an to
Conclusions:
The new Lifecycle of Business Process
Business
Analyst

models

Theebusiness sanalyst
Th busines analyst itional
l
continues sto useetrad itiona
continue to us tradhis
odel his
instruments to m odel
instruments to m
processes s
processe

revises

The system
automatically
translates BPMN
into goals
Every yagent in th
Ever agent in th syst
ee em
autonomously de system
autonomously de des
ci
whennto commit cides
whe to committo so
me
to some
goalal
go

GoalSPEC isis a
GoalSPEC a
language for
language for
expressing ggoals
expressin goals
that tgrounds son
tha ground on
ontology yandd
ontolog an
defines sa agoalalas the
define go as the
tuple
tuple
(actor,r,
(acto
trigger-condition,
trigger-condition,
final-state) )
final-state

GoalSPEC
injection

worker

Business
Expert

interacts
commits to
analyzes

analyzes

Running MAS

analyzes

commits to
analyzes

18
Environment perturbations
Conclusions:
The components of the MAS Solution
•

Agents are specialized: every agent owns its own capacities.
– User capacities are used to interact with humans and monitor their activity
– Service capacities are used to manipulate the environment.

•

Agent are peers: there is not a pre-established organization. They
organize themselves in teams every time a new workflow starts
– The self-org algorithm considers many criteria (experience, cost, trust)
– The team is the candidate group of agents for addressing the workflow, in a
given context
– Anyway, the context may change for some reason during the execution:
• In case of starvation the team tries to relax some constraints
• If some task fails, the team is dismissed and a new team is formed
• If no alternative team can be found, the analyst is informed of failure

•

Commitment: when an agent is involved in a team, it tries to address
its responsibilities at best of its possibilities
– It waits for triggering conditions hold
– It selects and executes the proper capacity or composition of capacities
– It checks that result is the expected final state

•

Trust and Reward:: agents that successfully complete their task gain
reputation and they increase their chance to be selected again.
Future Works
Agents

Learns by

◦ Experience  to improve owned capabilities
◦ Studying  to acquire new capabilities
Coupling

Goals and Norms in GoalSPEC
Open Systems and Clouds
Thanks for your Attention
Luca Sabatucci
sabatucci@pa.icar.cnr.it

Consiglio Nazionale delle Ricerche
Istituto di Calcolo e Reti ad Alte Prestazioni

More Related Content

Similar to Overview of a Self-Adaptive Workflow System

Getting From Understanding to Execution: Making Implicit Processes Actionable...
Getting From Understanding to Execution: Making Implicit Processes Actionable...Getting From Understanding to Execution: Making Implicit Processes Actionable...
Getting From Understanding to Execution: Making Implicit Processes Actionable...Nathaniel Palmer
 
Getting From Understanding to Execution: Making Implicit Processes Actionable...
Getting From Understanding to Execution: Making Implicit Processes Actionable...Getting From Understanding to Execution: Making Implicit Processes Actionable...
Getting From Understanding to Execution: Making Implicit Processes Actionable...Nathaniel Palmer
 
Hitchhikers guide to_data_center_facility_ops
Hitchhikers guide to_data_center_facility_opsHitchhikers guide to_data_center_facility_ops
Hitchhikers guide to_data_center_facility_opsavdsouza
 
Business analysis
Business analysis Business analysis
Business analysis Gautam Kumar
 
Business analysis
Business analysis Business analysis
Business analysis Gautam Kumar
 
Deploying a data centric approach to enterprise agility
Deploying a data centric approach to enterprise agilityDeploying a data centric approach to enterprise agility
Deploying a data centric approach to enterprise agilityComparative Agility
 
IBD BI MC Business Analysis Tools And Tasks
IBD BI MC Business Analysis Tools And TasksIBD BI MC Business Analysis Tools And Tasks
IBD BI MC Business Analysis Tools And Tasksbusdeve
 
adosadaojdoisadaodiaosdijasodiasodjowqidoqidjowqdwq
adosadaojdoisadaodiaosdijasodiasodjowqidoqidjowqdwqadosadaojdoisadaodiaosdijasodiasodjowqidoqidjowqdwq
adosadaojdoisadaodiaosdijasodiasodjowqidoqidjowqdwqJoelBelleth
 
5(re dfd-erd-data dictionay)
5(re dfd-erd-data dictionay)5(re dfd-erd-data dictionay)
5(re dfd-erd-data dictionay)randhirlpu
 
Performancemanagementsystem 120331231016-phpapp02
Performancemanagementsystem 120331231016-phpapp02Performancemanagementsystem 120331231016-phpapp02
Performancemanagementsystem 120331231016-phpapp02gemmar molina
 
Formalizing Collaborative Software Development Issues: A Collaborative Work A...
Formalizing Collaborative Software Development Issues: A Collaborative Work A...Formalizing Collaborative Software Development Issues: A Collaborative Work A...
Formalizing Collaborative Software Development Issues: A Collaborative Work A...IOSR Journals
 
Workflow agent determination
Workflow agent determinationWorkflow agent determination
Workflow agent determinationPinaki Ghosh
 
07 caelum-cmmi-multimodel-scamp iv2
07 caelum-cmmi-multimodel-scamp iv207 caelum-cmmi-multimodel-scamp iv2
07 caelum-cmmi-multimodel-scamp iv2CAELUM-CMMI
 
Using process thinking to define project scope: how to start in the right place
Using process thinking to define project scope: how to start in the right placeUsing process thinking to define project scope: how to start in the right place
Using process thinking to define project scope: how to start in the right placeSamuel Chin, PMP, CSM
 
Halifax CompetencyDictionary.pdf
Halifax CompetencyDictionary.pdfHalifax CompetencyDictionary.pdf
Halifax CompetencyDictionary.pdfRuthPialan
 
Erp implementation checklist
Erp implementation checklistErp implementation checklist
Erp implementation checklistMitch Rushing
 
What is the purpose of conducting a SWOT analysis in business analysis.docx
What is the purpose of conducting a SWOT analysis in business analysis.docxWhat is the purpose of conducting a SWOT analysis in business analysis.docx
What is the purpose of conducting a SWOT analysis in business analysis.docxTechnogeeks
 
Performance appraisal software
Performance appraisal softwarePerformance appraisal software
Performance appraisal softwaresaragreen243
 

Similar to Overview of a Self-Adaptive Workflow System (20)

Getting From Understanding to Execution: Making Implicit Processes Actionable...
Getting From Understanding to Execution: Making Implicit Processes Actionable...Getting From Understanding to Execution: Making Implicit Processes Actionable...
Getting From Understanding to Execution: Making Implicit Processes Actionable...
 
Getting From Understanding to Execution: Making Implicit Processes Actionable...
Getting From Understanding to Execution: Making Implicit Processes Actionable...Getting From Understanding to Execution: Making Implicit Processes Actionable...
Getting From Understanding to Execution: Making Implicit Processes Actionable...
 
13285737.ppt
13285737.ppt13285737.ppt
13285737.ppt
 
@note 23 Understanding Capability Maturity & Models 1-0
@note 23 Understanding Capability Maturity & Models 1-0@note 23 Understanding Capability Maturity & Models 1-0
@note 23 Understanding Capability Maturity & Models 1-0
 
Hitchhikers guide to_data_center_facility_ops
Hitchhikers guide to_data_center_facility_opsHitchhikers guide to_data_center_facility_ops
Hitchhikers guide to_data_center_facility_ops
 
Business analysis
Business analysis Business analysis
Business analysis
 
Business analysis
Business analysis Business analysis
Business analysis
 
Deploying a data centric approach to enterprise agility
Deploying a data centric approach to enterprise agilityDeploying a data centric approach to enterprise agility
Deploying a data centric approach to enterprise agility
 
IBD BI MC Business Analysis Tools And Tasks
IBD BI MC Business Analysis Tools And TasksIBD BI MC Business Analysis Tools And Tasks
IBD BI MC Business Analysis Tools And Tasks
 
adosadaojdoisadaodiaosdijasodiasodjowqidoqidjowqdwq
adosadaojdoisadaodiaosdijasodiasodjowqidoqidjowqdwqadosadaojdoisadaodiaosdijasodiasodjowqidoqidjowqdwq
adosadaojdoisadaodiaosdijasodiasodjowqidoqidjowqdwq
 
5(re dfd-erd-data dictionay)
5(re dfd-erd-data dictionay)5(re dfd-erd-data dictionay)
5(re dfd-erd-data dictionay)
 
Performancemanagementsystem 120331231016-phpapp02
Performancemanagementsystem 120331231016-phpapp02Performancemanagementsystem 120331231016-phpapp02
Performancemanagementsystem 120331231016-phpapp02
 
Formalizing Collaborative Software Development Issues: A Collaborative Work A...
Formalizing Collaborative Software Development Issues: A Collaborative Work A...Formalizing Collaborative Software Development Issues: A Collaborative Work A...
Formalizing Collaborative Software Development Issues: A Collaborative Work A...
 
Workflow agent determination
Workflow agent determinationWorkflow agent determination
Workflow agent determination
 
07 caelum-cmmi-multimodel-scamp iv2
07 caelum-cmmi-multimodel-scamp iv207 caelum-cmmi-multimodel-scamp iv2
07 caelum-cmmi-multimodel-scamp iv2
 
Using process thinking to define project scope: how to start in the right place
Using process thinking to define project scope: how to start in the right placeUsing process thinking to define project scope: how to start in the right place
Using process thinking to define project scope: how to start in the right place
 
Halifax CompetencyDictionary.pdf
Halifax CompetencyDictionary.pdfHalifax CompetencyDictionary.pdf
Halifax CompetencyDictionary.pdf
 
Erp implementation checklist
Erp implementation checklistErp implementation checklist
Erp implementation checklist
 
What is the purpose of conducting a SWOT analysis in business analysis.docx
What is the purpose of conducting a SWOT analysis in business analysis.docxWhat is the purpose of conducting a SWOT analysis in business analysis.docx
What is the purpose of conducting a SWOT analysis in business analysis.docx
 
Performance appraisal software
Performance appraisal softwarePerformance appraisal software
Performance appraisal software
 

More from Luca Sabatucci

MUSA: A Middleware for User-driven Service Adaptation
MUSA: A Middleware for User-driven Service AdaptationMUSA: A Middleware for User-driven Service Adaptation
MUSA: A Middleware for User-driven Service AdaptationLuca Sabatucci
 
GoalSPEC - An Introduction
GoalSPEC - An IntroductionGoalSPEC - An Introduction
GoalSPEC - An IntroductionLuca Sabatucci
 
Coupling Tropos with User-Centered Design
Coupling Tropos with User-Centered DesignCoupling Tropos with User-Centered Design
Coupling Tropos with User-Centered DesignLuca Sabatucci
 
Design as Intercultural Dialogue
Design as Intercultural DialogueDesign as Intercultural Dialogue
Design as Intercultural DialogueLuca Sabatucci
 
Socio-Technical Systems
Socio-Technical SystemsSocio-Technical Systems
Socio-Technical SystemsLuca Sabatucci
 

More from Luca Sabatucci (9)

SlidesSeams15
SlidesSeams15SlidesSeams15
SlidesSeams15
 
MUSA: A Middleware for User-driven Service Adaptation
MUSA: A Middleware for User-driven Service AdaptationMUSA: A Middleware for User-driven Service Adaptation
MUSA: A Middleware for User-driven Service Adaptation
 
GoalSPEC - An Introduction
GoalSPEC - An IntroductionGoalSPEC - An Introduction
GoalSPEC - An Introduction
 
Ahab's Leg Dilemma
Ahab's Leg DilemmaAhab's Leg Dilemma
Ahab's Leg Dilemma
 
Ahab’s Leg
Ahab’s LegAhab’s Leg
Ahab’s Leg
 
Coupling Tropos with User-Centered Design
Coupling Tropos with User-Centered DesignCoupling Tropos with User-Centered Design
Coupling Tropos with User-Centered Design
 
Design as Intercultural Dialogue
Design as Intercultural DialogueDesign as Intercultural Dialogue
Design as Intercultural Dialogue
 
The ACube Experience
The ACube ExperienceThe ACube Experience
The ACube Experience
 
Socio-Technical Systems
Socio-Technical SystemsSocio-Technical Systems
Socio-Technical Systems
 

Recently uploaded

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 

Recently uploaded (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 

Overview of a Self-Adaptive Workflow System

  • 1. Consiglio Nazionale delle Ricerche Istituto di Calcolo e Reti ad Alte Prestazioni Towards Self-Adaptation and Evolution in Business Process Luca Sabatucci 15 Ottobre 2013
  • 2.
  • 3. BPMN Commercial workflow engines follow the plan as in the blueprint (BPMN, BPEL) The execution model is based on the petri-net model: token and activation •
  • 4. Self-Adaptive Workflows • In current workflow systems, • a unexpected situation generates a fail to the standard plan, • alternative plans can not be autonomously considered • In order to enable self-adaptation, • rigid constraints of a workflow must be relaxed • plans should be searched in a broader solution space.
  • 6. FROM BPMN to Goals
  • 7. Decoupling WHAT and HOW We desire that BPMN is used for ◦ describing the result to address, ◦ not “how to address it” We use a Goal-Oriented approach GoalSPEC: a language to describe business goals to delegate to the system
  • 8. Goal in GoalSpec Goal TRIGGERING CONDITION The state of the world that must hold because the goal becomes active ACTOR LIST Who is responsible FINAL STATE The state of the world that must be true for considering the goal addressed In oorderto des In rder to des ibe cr cr Trigggercco dit ibe Tri ger onndit n io n io andd an FFinalstaate inal st te weeuusean oo to w se an nnto gica lo gicalapppro h lo l ap roac h ac (WHEN MESSAGE book_request(Book) RECEIVED FROM THE Client ROLE AND WHEN available(Book) ) THE Clerk ROLE SHALL ADDRESS book_checkout(Book,Client) (BookManagment example) Each goal in GoalSPEC Each goal in GoalSPEC defines aa defines ition, desireddStateeTrans ition, desire Stat Trans G:TC -> FS G:TC -> FS
  • 9. Extracting GoalSPEC from BPMN The workflow execution may be seen as a finite set of state transitions from the start event to the end event. Where: each FlowNode generates a single step of the transition We identify intermediate transitions
  • 10. Examples Every FlowNode potentially impacts the state of the workflow WHEN completed(client_credential) THE user role SHALL ADDRESS ( done(booking) AND sent(receipt,client) ) OR error(booking) AFTER 1 hour SINCE WHEN done(login) OR WHEN user_number > MAX_USERS OR WHEN thrown(stopping_signal) THE user role SHALL ADRESS done (logout)
  • 12. Why Software Agents Agents encapsulate autonomy and proactivity. Agents ground on the classic AI loopmodel: sense – reason – act BDI agents represent a good abstraction for self-awareness and contextawareness MAS are a flexible and powerful method for distributed reasoning
  • 13. The BDI Architecture (mental states) Agent1 Agent2 AgentN (plans) (act and perceive) Environment 13
  • 14. Context-Awareness and SelfAwareness • Proactive contextual matching of the behavior (how) with expected results (what) • The agent must be able to reason • on evolving business goals • on the execution context • on its capabilities
  • 15. The Self-Aware Agent SYSTEM GOALS Self-Aware agents knows: •system goals •their own execution state •their capabilities and how capabilities can be used (means-end reasoning) CAPABILITIES Agent1 Agent2 AgentN (plans) (UI) Capability encapsulat es the ability to manipulat e resources, to call web services or to interact with humans Environment System goals derive from business analysis, when some business goal is delegated to the system t) en tm mi m (co (UI) Resources (databases, …) Business Analyst Web Service Web Service Workflow User 15
  • 16. Self-Organization Algorithm Goal commitment is a social activity Each goal prescribes a state transition (TC -> FS) Agents may own capabilities for addressing sub-transitions (sinput -> soutput) A Solution is a decomposition of the main transition TC -> FS into a set of sub-transitions A Team prescribes a collaboration among many agents, and it is regulated by contracts and rewards.
  • 17. A solution is a set of potential contracts for addressing sub-goals: contract( potential commitment, curriculum, request income) TThealalgori m he gorith thmfor distriribute an forsearching gsolutitions is dist butedd an re searchin solu ons is dd recursiv cursivee system-goal goal-set {TC | FS} sub-goal G1..G5 G1 G2 {TC | IS1} AGENTS G3 {IS1 | IS2} {IS2 | IS3} G5 {IS3 | IS4} I may commit to G3 A1 ch Agents tries sto mat ch Agents trie to mat goal s their rcapacicitieswith goal thei capa tie with transitionnTC -> FS transitio TC -> FS de IF Agents alalsodecicide IF Agents so de the PARTICIPATEEto the PARTICIPAT to H solutionnanddWHIC H solutio an WHIC PART play in it, PART play in it, r depending gon thei r dependin on thei workinngqueuee worki g queu G4 AN Aj Recursionnstops w Recursio stops w n no he he solutionnisisdiscover n no solutio discoveeddor in re or in theetrivivialcase of nu th tr ial case of nu ll ll transition transition contract( {IS2 | IS3}, my_curriculum, 1) backward-goal decompose and recursively search sub-goals {TS | IS2} A1 A2 {IS4 | FS} forward-goal {IS3 | FS} AN A1 A2 AN ay be Many ysolutions m ay be Man solutions m discovered. . discovered alu ed ev ated Each solutionnisisev aluat Each solutio according gto: : accordin to ts’ completeness,s,agen ts’ ) completenes agen cost ) tal st reputationnanddto tal co reputatio an to
  • 18. Conclusions: The new Lifecycle of Business Process Business Analyst models Theebusiness sanalyst Th busines analyst itional l continues sto useetrad itiona continue to us tradhis odel his instruments to m odel instruments to m processes s processe revises The system automatically translates BPMN into goals Every yagent in th Ever agent in th syst ee em autonomously de system autonomously de des ci whennto commit cides whe to committo so me to some goalal go GoalSPEC isis a GoalSPEC a language for language for expressing ggoals expressin goals that tgrounds son tha ground on ontology yandd ontolog an defines sa agoalalas the define go as the tuple tuple (actor,r, (acto trigger-condition, trigger-condition, final-state) ) final-state GoalSPEC injection worker Business Expert interacts commits to analyzes analyzes Running MAS analyzes commits to analyzes 18 Environment perturbations
  • 19. Conclusions: The components of the MAS Solution • Agents are specialized: every agent owns its own capacities. – User capacities are used to interact with humans and monitor their activity – Service capacities are used to manipulate the environment. • Agent are peers: there is not a pre-established organization. They organize themselves in teams every time a new workflow starts – The self-org algorithm considers many criteria (experience, cost, trust) – The team is the candidate group of agents for addressing the workflow, in a given context – Anyway, the context may change for some reason during the execution: • In case of starvation the team tries to relax some constraints • If some task fails, the team is dismissed and a new team is formed • If no alternative team can be found, the analyst is informed of failure • Commitment: when an agent is involved in a team, it tries to address its responsibilities at best of its possibilities – It waits for triggering conditions hold – It selects and executes the proper capacity or composition of capacities – It checks that result is the expected final state • Trust and Reward:: agents that successfully complete their task gain reputation and they increase their chance to be selected again.
  • 20. Future Works Agents Learns by ◦ Experience  to improve owned capabilities ◦ Studying  to acquire new capabilities Coupling Goals and Norms in GoalSPEC Open Systems and Clouds
  • 21. Thanks for your Attention Luca Sabatucci sabatucci@pa.icar.cnr.it Consiglio Nazionale delle Ricerche Istituto di Calcolo e Reti ad Alte Prestazioni