SlideShare une entreprise Scribd logo
1  sur  72
Télécharger pour lire hors ligne
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.

Contenu connexe

Similaire à Agent Workflows with WADE

Mobile First with Angular.JS - Владимир Цветков, Obecto
Mobile First with Angular.JS - Владимир Цветков, ObectoMobile First with Angular.JS - Владимир Цветков, Obecto
Mobile First with Angular.JS - Владимир Цветков, Obecto
beITconference
 
WDS trainer presentation - MLOps.pptx
WDS trainer presentation - MLOps.pptxWDS trainer presentation - MLOps.pptx
WDS trainer presentation - MLOps.pptx
Arthur240715
 

Similaire à 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 !
 

Dernier

QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
httgc7rh9c
 

Dernier (20)

How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Pharmaceutical Biotechnology VI semester.pdf
Pharmaceutical Biotechnology VI semester.pdfPharmaceutical Biotechnology VI semester.pdf
Pharmaceutical Biotechnology VI semester.pdf
 
PUBLIC FINANCE AND TAXATION COURSE-1-4.pdf
PUBLIC FINANCE AND TAXATION COURSE-1-4.pdfPUBLIC FINANCE AND TAXATION COURSE-1-4.pdf
PUBLIC FINANCE AND TAXATION COURSE-1-4.pdf
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
Rich Dad Poor Dad ( PDFDrive.com )--.pdf
Rich Dad Poor Dad ( PDFDrive.com )--.pdfRich Dad Poor Dad ( PDFDrive.com )--.pdf
Rich Dad Poor Dad ( PDFDrive.com )--.pdf
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17
 
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdfUGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
UGC NET Paper 1 Unit 7 DATA INTERPRETATION.pdf
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 

Agent Workflows with WADE