SlideShare ist ein Scribd-Unternehmen logo
1 von 72
Downloaden Sie, um offline zu lesen
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Agent Workflows with WADE
Márcio Fuckner1
1Université de Technologie de Compiègne, France
Multiagent System Development
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Outline
1 The workflow metaphor
2 Agent-based workflows
3 WADE
Overview
Architecture
4 The Factorial case study
Preparing the Infrastructure
Creating the Agent
Creating the Workflow
WADE Delegation Model
Running sub-workflows
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Definition
Workflow
A workflow is the automation of a business
process, which artifacts, information and/or tasks
are passed from one actor to another according
to a set of procedural rules.
[Workflow Management Coalition, 2013]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Definition
Workflow
A workflow is the automation of a business
process, which artifacts, information and/or tasks
are passed from one actor to another according
to a set of procedural rules.
[Workflow Management Coalition, 2013]
Formalisms
Many formalisms exist to represent a workflow.
Some examples are flow charts, UML activity
diagrams and finite state machine diagrams.
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
A workflow example
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Functional Areas
Figure: Source: [Caire, 2008]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Examples of Workflow Description
Languages
BPEL
Business Process Execution Language.
• Keywords: SOA, WS oriented
• More information: OASIS
(http://www.oasis-open.org)
XPDL
XML Process Definition Language.
• Keywords: Visual modelling notations,
XML based
• More information: Workflow Management
Coalition (http://www.wfmc.org)
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Pros and Cons
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Pros and Cons
Pros
• Extremely intuitive. Can be validated by
domain experts with no programming skills
• Self-documented
• Execution steps are made explicit
• Workflows are interpreted at runtime
• Several infrastructure facilities
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Pros and Cons
Pros
• Extremely intuitive. Can be validated by
domain experts with no programming skills
• Self-documented
• Execution steps are made explicit
• Workflows are interpreted at runtime
• Several infrastructure facilities
Cons
• Not suitable to deal with low-level
operations
• Supporting tools not comparable with those
available for normal code development
• Less efficient execution
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Bringing the workflow approach to the
Multiagent world
Agent-based workflows
The basic idea is to use the
expressiveness of the workflow
metaphor to improve the agent
communication process.
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
What is WADE?
• is a software platforma based on JADE
• A WADE application is also a JADE application
• All JADE features are available in WADE too
• Allows the execution of tasks using the workflow
metaphor
• Adopted the XPDL meta-model to facilitate
import/export from/to a standard workflow
representation format
a
For more information: http://jade.tilab.com/wade/
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Main components
Figure: Source: [Telecom Italia, 2011b]
WADE and WOLF
In principle WADE supports
“notepad-programming”, but it comes
with a graphical development
environment called WOLF
[Telecom Italia, 2011b].
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Architecture
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
A classroom case study using WADE
• Now, it’s time to develop a
simple but complete application
using WADE ...
• ... from scratch !
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Formal Definition
• In mathematics, the factorial of
a non-negative integer n,
denoted by n!, is the product of
all positive integers less than or
equal n
• For example: 5! = 5 x 4 x 3 x 2
x 1 = 120
• According to the rule, the value
of 0! is 1
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Implementing the application using the
workflow metaphor
Note
We know ... The factorial problem could easily be implemented in one line, as the
example above in LISP:
(defun fa (n)
(cond ((eq n 1) n) ((> n 1) (* (fa (- n 1) ) n ) ) )
By the other hand, this problem allows to explore the workflow metaphor, keeping
us focused on the approach and not on out-of-scope issues.
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Implementing the application using the
workflow metaphor
• We will start by implementing a
simple solution using only one
workflow agent
• Next, we will improve the
application, enabling the
parallel execution of
sub-workflows
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
A workflow with only one actor
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Creating the Project
• (1) Creating a Java
Project
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Creating the Project
• Creating a Java Project
• (2) Adding WADE
Nature
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Creating the Project
• Creating a Java Project
• Adding WADE Nature
• (3) Configuring WADE
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
WADE distribution structure
Figure: Source: [Caire, 2008]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Application Structure
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
(4) Defining the Agent
• The Factorial Agent will
not inherit from the
jade.core.Agent class
directly
• We will use the
WorkflowEngineAgent a
• All workflow agents are
automatically registered
in the DF
a
See FactorialAgent.java
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
(5) Agent Types
• WADE agents
automatically registers
with the DF providing a
default description.
• Such description
contains the agent type
as indicated in the
cfg/types.xml file where
relevant agent types are
declared.
Figure: See cfg/types.xml
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
(6) Allowing the Agent to execute
Workflows
DispatchCapabilities Object
By embedding a DispatchingCapabilities
instance, an agent acquires the ability of
launching workflows, setting and
retrieving, workflow relevant data and
listening to events generated by the
execution of workflows
[Telecom Italia, 2011a].
Figure: See FactorialAgent.java
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
(7) Preparing the configuration for the
first execution
Configuration file
Before lauching our application
we still need to declare which
agents we want to activate in it.
This can be done by means of
an "Application Configuration
File".
Figure: See cfg/configuration/Factorial.xml
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Running the application for the first
time
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Basic workflow terminology
• Workflow/Process
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Basic workflow terminology
• Workflow/Process
• Activity
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Basic workflow terminology
• Workflow/Process
• Activity
• Transition
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
The WADE meta-model
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
The WADE meta-model
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
The WADE meta-model
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
The WADE meta-model
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
The WADE meta-model
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
The WADE meta-model
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
The WADE meta-model
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
In practice
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
In practice
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
In practice
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
In practice
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
In practice
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
In practice
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
In practice
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
In practice
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
In practice
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
In practice
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
In practice
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
(8) Creating a Workflow
• Workflows in
WADE are Java
classes that extend
the
WorkflowBehaviour
class
• Indirectly, this class
extends our known
JADE Behaviour
• WOLF provides a
view to edit a
workflow in a
bidirectional
fashion.
Figure: See FactorialWorkflow.java
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
(9) (10) Executing Workflows
Figure: See calculate method defined in FactorialAgent.java
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Running the application
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
WADE Delegation Model
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
WADE Delegation Model
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
WADE Delegation Model
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
WADE Delegation Model
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
WADE Delegation Model
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
WADE Delegation Model
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
WADE Delegation Model
Figure: Source: [Telecom Italia, 2011b]
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
A workflow with two actors
Executing sub-workflows
Now, we will change the code
to allow agents delegate the
execution of sub-workflows to
other agents
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Application Structure
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Changing Project Settings
• (11) Creating the multiply agent (See
MultiplyAgent.java)
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Changing Project Settings
• Creating the mutiply agent (See MultiplyAgent.java)
• (12) Adding multiplier to cfg/types.xml
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Changing Project Settings
• Creating the mutiply agent (See MultiplyAgent.java)
• Adding multiplier to cfg/types.xml
• (13) Creating the multiplication sub-workflow (See
MultiplyWorkflow.java)
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Changing Project Settings
• Creating the mutiply agent (See MultiplyAgent.java)
• Adding multiplier to cfg/types.xml
• Creating the multiplication sub-workflow (See
MultiplyWorkflow.java)
• (14) Changing the project configuration (See
cfg/configuration/Factorial.xml)
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
(15) Changing the Factorial Agent
Executing sub-workflows
Now, we will change the code
to allow the factorial agent
keep on track of multiply
agents life-cycle a.
a
See subscribe method defined in FactorialAgent.java
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
(16) Changing the Factorial Workflow
Changing the workflow
Now, we will change the
workflow in order to execute
the multiplication in parallel,
joining the results at the end
of all operations a.
a
See FactorialWorkflow.java
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Running the application
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Conclusion
Questions?
• A hands-on example on WADE
• Much more examples and resources on
http://jade.tilab.com/wade/
• See also the WADE tutorial at
http://jade.tilab.com/wade/doc/tutorial/WADE-
Tutorial.pdf
Contact Information
• Marcio Fuckner
• marcio.fuckner@utc.fr
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Caire, G. (2008).
WADE: an open source platform for workflows and agents.
The Seventh International Conference On Autonomous
Agents and Multiagent Systems.
Telecom Italia (2011a).
WADE Tutorial.
Telecom Italia.
Available at
http://jade.tilab.com/wade/doc/tutorial/WADE-Tutorial.pdf.
Telecom Italia (2011b).
WADE User Guide.
Telecom Italia.
Available at
http://jade.tilab.com/wade/doc/WADE-User-Guide.pdf.
Workflow Management Coalition (2013).
UTC
The workflow
metaphor
Agent-based
workflows
WADE
Overview
Architecture
The Factorial
case study
General Information
Implementation
Preparing the
Infrastructure
Creating the Agent
Creating the
Workflow
WADE Delegation
Model
Running
sub-workflows
Workflow Management Coalition Terminology and Glossary.
Workflow Management Coalition.
Available at http://www.wfmc.org.

Weitere ähnliche Inhalte

Ähnlich wie Agent Workflows with WADE

Web services, WCF services and Multi Threading with Windows Forms
Web services, WCF services and Multi Threading with Windows FormsWeb services, WCF services and Multi Threading with Windows Forms
Web services, WCF services and Multi Threading with Windows FormsPeter Gfader
 
Java Agile ALM: OTAP and DevOps in the Cloud
Java Agile ALM: OTAP and DevOps in the CloudJava Agile ALM: OTAP and DevOps in the Cloud
Java Agile ALM: OTAP and DevOps in the CloudMongoDB
 
VMware Automation, PowerCLI presented at the Northern California PSUG
VMware Automation, PowerCLI presented at the Northern California PSUGVMware Automation, PowerCLI presented at the Northern California PSUG
VMware Automation, PowerCLI presented at the Northern California PSUGAlan Renouf
 
Visual Studio 2015 - Lançamento está próximo
Visual Studio 2015 - Lançamento está próximoVisual Studio 2015 - Lançamento está próximo
Visual Studio 2015 - Lançamento está próximoDaniel Semedo
 
Develop in ludicrous mode with azure serverless
Develop in ludicrous mode with azure serverlessDevelop in ludicrous mode with azure serverless
Develop in ludicrous mode with azure serverlessLalit Kale
 
Mobile First with Angular.JS - Владимир Цветков, Obecto
Mobile First with Angular.JS - Владимир Цветков, ObectoMobile First with Angular.JS - Владимир Цветков, Obecto
Mobile First with Angular.JS - Владимир Цветков, ObectobeITconference
 
Near real-time anomaly detection at Lyft
Near real-time anomaly detection at LyftNear real-time anomaly detection at Lyft
Near real-time anomaly detection at Lyftmarkgrover
 
How to build streaming data pipelines with Akka Streams, Flink, and Spark usi...
How to build streaming data pipelines with Akka Streams, Flink, and Spark usi...How to build streaming data pipelines with Akka Streams, Flink, and Spark usi...
How to build streaming data pipelines with Akka Streams, Flink, and Spark usi...Lightbend
 
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as CodeConfoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as CodeSteve Mercier
 
WDS trainer presentation - MLOps.pptx
WDS trainer presentation - MLOps.pptxWDS trainer presentation - MLOps.pptx
WDS trainer presentation - MLOps.pptxArthur240715
 
Flyte kubecon 2019 SanDiego
Flyte kubecon 2019 SanDiegoFlyte kubecon 2019 SanDiego
Flyte kubecon 2019 SanDiegoKetanUmare
 
Plug yourself in and your app will never be the same (1 hr edition)
Plug yourself in and your app will never be the same (1 hr edition)Plug yourself in and your app will never be the same (1 hr edition)
Plug yourself in and your app will never be the same (1 hr edition)Mikkel Flindt Heisterberg
 
Building Event Driven Architectures with Kafka and Cloud Events (Dan Rosanova...
Building Event Driven Architectures with Kafka and Cloud Events (Dan Rosanova...Building Event Driven Architectures with Kafka and Cloud Events (Dan Rosanova...
Building Event Driven Architectures with Kafka and Cloud Events (Dan Rosanova...confluent
 
"Applied Enterprise Metaprogramming in JavaScript", Vladyslav Dukhin
"Applied Enterprise Metaprogramming in JavaScript", Vladyslav Dukhin"Applied Enterprise Metaprogramming in JavaScript", Vladyslav Dukhin
"Applied Enterprise Metaprogramming in JavaScript", Vladyslav DukhinFwdays
 
Presentation : Business Process Management with mobile routes
Presentation : Business Process Management with mobile routesPresentation : Business Process Management with mobile routes
Presentation : Business Process Management with mobile routesCharif Mahmoudi
 
Introduction to the Managed Extensibility Framework in Silverlight
Introduction to the Managed Extensibility Framework in SilverlightIntroduction to the Managed Extensibility Framework in Silverlight
Introduction to the Managed Extensibility Framework in SilverlightJeremy Likness
 
What the heck is Eclipse Modeling and why should you care !
What the heck is Eclipse Modeling and why should you care !What the heck is Eclipse Modeling and why should you care !
What the heck is Eclipse Modeling and why should you care !Cédric Brun
 

Ähnlich wie Agent Workflows with WADE (20)

Web services, WCF services and Multi Threading with Windows Forms
Web services, WCF services and Multi Threading with Windows FormsWeb services, WCF services and Multi Threading with Windows Forms
Web services, WCF services and Multi Threading with Windows Forms
 
ORCAS
ORCASORCAS
ORCAS
 
Java Agile ALM: OTAP and DevOps in the Cloud
Java Agile ALM: OTAP and DevOps in the CloudJava Agile ALM: OTAP and DevOps in the Cloud
Java Agile ALM: OTAP and DevOps in the Cloud
 
VMware Automation, PowerCLI presented at the Northern California PSUG
VMware Automation, PowerCLI presented at the Northern California PSUGVMware Automation, PowerCLI presented at the Northern California PSUG
VMware Automation, PowerCLI presented at the Northern California PSUG
 
Visual Studio 2015 - Lançamento está próximo
Visual Studio 2015 - Lançamento está próximoVisual Studio 2015 - Lançamento está próximo
Visual Studio 2015 - Lançamento está próximo
 
Develop in ludicrous mode with azure serverless
Develop in ludicrous mode with azure serverlessDevelop in ludicrous mode with azure serverless
Develop in ludicrous mode with azure serverless
 
Mobile First with Angular.JS - Владимир Цветков, Obecto
Mobile First with Angular.JS - Владимир Цветков, ObectoMobile First with Angular.JS - Владимир Цветков, Obecto
Mobile First with Angular.JS - Владимир Цветков, Obecto
 
Near real-time anomaly detection at Lyft
Near real-time anomaly detection at LyftNear real-time anomaly detection at Lyft
Near real-time anomaly detection at Lyft
 
How to build streaming data pipelines with Akka Streams, Flink, and Spark usi...
How to build streaming data pipelines with Akka Streams, Flink, and Spark usi...How to build streaming data pipelines with Akka Streams, Flink, and Spark usi...
How to build streaming data pipelines with Akka Streams, Flink, and Spark usi...
 
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as CodeConfoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
Confoo-Montreal-2016: Controlling Your Environments using Infrastructure as Code
 
WDS trainer presentation - MLOps.pptx
WDS trainer presentation - MLOps.pptxWDS trainer presentation - MLOps.pptx
WDS trainer presentation - MLOps.pptx
 
Windows Workflow Foundation
Windows Workflow FoundationWindows Workflow Foundation
Windows Workflow Foundation
 
Flyte kubecon 2019 SanDiego
Flyte kubecon 2019 SanDiegoFlyte kubecon 2019 SanDiego
Flyte kubecon 2019 SanDiego
 
Plug yourself in and your app will never be the same (1 hr edition)
Plug yourself in and your app will never be the same (1 hr edition)Plug yourself in and your app will never be the same (1 hr edition)
Plug yourself in and your app will never be the same (1 hr edition)
 
Building Event Driven Architectures with Kafka and Cloud Events (Dan Rosanova...
Building Event Driven Architectures with Kafka and Cloud Events (Dan Rosanova...Building Event Driven Architectures with Kafka and Cloud Events (Dan Rosanova...
Building Event Driven Architectures with Kafka and Cloud Events (Dan Rosanova...
 
"Applied Enterprise Metaprogramming in JavaScript", Vladyslav Dukhin
"Applied Enterprise Metaprogramming in JavaScript", Vladyslav Dukhin"Applied Enterprise Metaprogramming in JavaScript", Vladyslav Dukhin
"Applied Enterprise Metaprogramming in JavaScript", Vladyslav Dukhin
 
Presentation : Business Process Management with mobile routes
Presentation : Business Process Management with mobile routesPresentation : Business Process Management with mobile routes
Presentation : Business Process Management with mobile routes
 
Introduction to the Managed Extensibility Framework in Silverlight
Introduction to the Managed Extensibility Framework in SilverlightIntroduction to the Managed Extensibility Framework in Silverlight
Introduction to the Managed Extensibility Framework in Silverlight
 
JAX 08 - Agile RCP
JAX 08 - Agile RCPJAX 08 - Agile RCP
JAX 08 - Agile RCP
 
What the heck is Eclipse Modeling and why should you care !
What the heck is Eclipse Modeling and why should you care !What the heck is Eclipse Modeling and why should you care !
What the heck is Eclipse Modeling and why should you care !
 

Kürzlich hochgeladen

How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 

Kürzlich hochgeladen (20)

How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 

Agent Workflows with WADE