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

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 

Kürzlich hochgeladen (20)

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 

Agent Workflows with WADE