Documentacion: AddAgent_Workflow

Descripcion: Description of the tasks which compose the workflow AddAgents. It also includes the roles which carry out these tasks.

This workflow adds a required agent to the system. It is specified without and with the FIPA-Request protocol. In the first two diagrams the possible communication between the roles relies in the specific tasks of the workflow. In the second two diagrams the communication is explicitly carried out by the tasks in the FIPA-Request protocol.

Without considering the communication matters, the workflow begins with an user's action catched by InteractWithUser. This task directs this asking to AddAgent which actually makes the addition. The results of AddAgent are communicated to the user thanks to the combined action of AgentManager_InitResponse, UserInterface_ProcessResponse and ProcessNotification. The first one is employed by the role AgentManager to begin the communication. The role UserInterface receives the notifications with UserInterface_ProcessResponse and sends them to the user's interface with ProcessNotification.


Instancias de entidades de meta-modelo

EntidadEntidad del meta-modeloDocumentacion
AddAgent 
FlujoDeTrabajo  Workflow to add an agent to the system. The actions begin with a user's request containig the data about the new agent. After that the system tries to create the requested agent and informs the user about the results. 
FIPA-Request 
FlujoDeTrabajo  FIPA-Request protocol. 
Note 
Nota  The AddAgent workflow is specified in two different ways. The first two diagrams correspond to the specification without protocols while the second two correspond to that using a predefined FIPA-Request protocol. 
AgentManager 
Rol  It manages the AgentsManagerApplication. This application is employed to add, remove and list agents in the system. 
UserInterface 
Rol  It manages the user's interface and therefore the communication with the user. 
AddAgent 
Tarea  Add a new agent to the system. 
AgentManager_InitResponse 
Tarea  Makes the sending of the add/remove agent response. 
InteractWithUser 
Tarea  Interface to add, remove and list agents, categories and documents in categories. It receives the user's request and directs it to the appropriate task. 
ProcessNotification 
Tarea  This task sends a notification to the UserDevice. 
UserInterface_ProcessResponse 
Tarea  Makes the processing of the add/remove agent response to the request. 


AddAgent (FlujoDeTrabajo)

Propiedades:
IDAddAgent 
DescripcionWorkflow to add an agent to the system. The actions begin with a user's request containig the data about the new agent. After that the system tries to create the requested agent and informs the user about the results. 

Relaciones:
En el rolEn la relacion Otros extremos
WFDescomponeOR WFDescompone 
Con los objetosEn el rol
InteractWithUser  WFDescomponeDR
UserInterface_ProcessResponse  WFDescomponeDR
ProcessNotification  WFDescomponeDR
AddAgent  WFDescomponeDR
AgentManager_InitResponse  WFDescomponeDR
WFDescomponeOR WFDescompone 
Con los objetosEn el rol
InteractWithUser  WFDescomponeDR
UserInterface_ProcessResponse  WFDescomponeDR
ProcessNotification  WFDescomponeDR
AddAgent  WFDescomponeDR
AgentManager_InitResponse  WFDescomponeDR
FIPA-Request  WFDescomponeDR


FIPA-Request (FlujoDeTrabajo)

Propiedades:
IDFIPA-Request 
DescripcionFIPA-Request protocol. 

Relaciones:
En el rolEn la relacion Otros extremos
WFConectaDR WFConecta 
Con los objetosEn el rol
InteractWithUser  WFConectaOR
WFConectaDR WFConecta 
Con los objetosEn el rol
AgentManager_InitResponse  WFConectaOR
WFConectaOR WFConecta 
Con los objetosEn el rol
AddAgent  WFConectaDR
WFConectaOR WFConecta 
Con los objetosEn el rol
UserInterface_ProcessResponse  WFConectaDR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
InteractWithUser  WFDescomponeDR
UserInterface_ProcessResponse  WFDescomponeDR
ProcessNotification  WFDescomponeDR
AddAgent  WFDescomponeDR
AgentManager_InitResponse  WFDescomponeDR
AddAgent  WFDescomponeOR

Diagramas relacionados
FIPA-Request_Workflow

Note (Nota)

Propiedades:
IDNote 
DescripcionThe AddAgent workflow is specified in two different ways. The first two diagrams correspond to the specification without protocols while the second two correspond to that using a predefined FIPA-Request protocol. 

Relaciones:


AgentManager (Rol)

Propiedades:
IDAgentManager 
DescripcionIt manages the AgentsManagerApplication. This application is employed to add, remove and list agents in the system. 

Relaciones:
En el rolEn la relacion Otros extremos
RWFEjecutaO WFEjecuta 
Con los objetosEn el rol
AgentManager_InitResponse  RWFEjecutaD
RWFEjecutaO WFEjecuta 
Con los objetosEn el rol
AgentManager_InitResponse  RWFEjecutaD
WFResponsableDR WFResponsable 
Con los objetosEn el rol
AddAgent  WFResponsableOR
WFResponsableDR WFResponsable 
Con los objetosEn el rol
AddAgent  WFResponsableOR


UserInterface (Rol)

Propiedades:
IDUserInterface 
DescripcionIt manages the user's interface and therefore the communication with the user. 

Relaciones:
En el rolEn la relacion Otros extremos
RWFEjecutaO WFEjecuta 
Con los objetosEn el rol
InteractWithUser  RWFEjecutaD
RWFEjecutaO WFEjecuta 
Con los objetosEn el rol
UserInterface_ProcessResponse  RWFEjecutaD
RWFEjecutaO WFEjecuta 
Con los objetosEn el rol
InteractWithUser  RWFEjecutaD
RWFEjecutaO WFEjecuta 
Con los objetosEn el rol
UserInterface_ProcessResponse  RWFEjecutaD
RWFEjecutaO WFEjecuta 
Con los objetosEn el rol
ProcessNotification  RWFEjecutaD
RWFEjecutaO WFEjecuta 
Con los objetosEn el rol
ProcessNotification  RWFEjecutaD


AddAgent (Tarea)

Propiedades:
IDAddAgent 
DescripcionAdd a new agent to the system. 

Relaciones:
En el rolEn la relacion Otros extremos
WFConectaDR WFConecta 
Con los objetosEn el rol
InteractWithUser  WFConectaOR
WFConectaDR WFConecta 
Con los objetosEn el rol
FIPA-Request  WFConectaOR
WFConectaOR WFConecta 
Con los objetosEn el rol
AgentManager_InitResponse  WFConectaDR
WFConectaOR WFConecta 
Con los objetosEn el rol
AgentManager_InitResponse  WFConectaDR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
InteractWithUser  WFDescomponeDR
UserInterface_ProcessResponse  WFDescomponeDR
ProcessNotification  WFDescomponeDR
AgentManager_InitResponse  WFDescomponeDR
AddAgent  WFDescomponeOR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
InteractWithUser  WFDescomponeDR
UserInterface_ProcessResponse  WFDescomponeDR
ProcessNotification  WFDescomponeDR
AgentManager_InitResponse  WFDescomponeDR
FIPA-Request  WFDescomponeDR
AddAgent  WFDescomponeOR
WFResponsableOR WFResponsable 
Con los objetosEn el rol
AgentManager  WFResponsableDR
WFResponsableOR WFResponsable 
Con los objetosEn el rol
AgentManager  WFResponsableDR


AgentManager_InitResponse (Tarea)

Propiedades:
IDAgentManager_InitResponse 
DescripcionMakes the sending of the add/remove agent response. 

Relaciones:
En el rolEn la relacion Otros extremos
RWFEjecutaD WFEjecuta 
Con los objetosEn el rol
AgentManager  RWFEjecutaO
RWFEjecutaD WFEjecuta 
Con los objetosEn el rol
AgentManager  RWFEjecutaO
WFConectaDR WFConecta 
Con los objetosEn el rol
AddAgent  WFConectaOR
WFConectaDR WFConecta 
Con los objetosEn el rol
AddAgent  WFConectaOR
WFConectaOR WFConecta 
Con los objetosEn el rol
UserInterface_ProcessResponse  WFConectaDR
WFConectaOR WFConecta 
Con los objetosEn el rol
FIPA-Request  WFConectaDR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
InteractWithUser  WFDescomponeDR
UserInterface_ProcessResponse  WFDescomponeDR
ProcessNotification  WFDescomponeDR
AddAgent  WFDescomponeDR
AddAgent  WFDescomponeOR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
InteractWithUser  WFDescomponeDR
UserInterface_ProcessResponse  WFDescomponeDR
ProcessNotification  WFDescomponeDR
AddAgent  WFDescomponeDR
FIPA-Request  WFDescomponeDR
AddAgent  WFDescomponeOR


InteractWithUser (Tarea)

Propiedades:
IDInteractWithUser 
DescripcionInterface to add, remove and list agents, categories and documents in categories. It receives the user's request and directs it to the appropriate task. 

Relaciones:
En el rolEn la relacion Otros extremos
RWFEjecutaD WFEjecuta 
Con los objetosEn el rol
UserInterface  RWFEjecutaO
RWFEjecutaD WFEjecuta 
Con los objetosEn el rol
UserInterface  RWFEjecutaO
WFConectaOR WFConecta 
Con los objetosEn el rol
AddAgent  WFConectaDR
WFConectaOR WFConecta 
Con los objetosEn el rol
FIPA-Request  WFConectaDR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
UserInterface_ProcessResponse  WFDescomponeDR
ProcessNotification  WFDescomponeDR
AddAgent  WFDescomponeDR
AgentManager_InitResponse  WFDescomponeDR
AddAgent  WFDescomponeOR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
UserInterface_ProcessResponse  WFDescomponeDR
ProcessNotification  WFDescomponeDR
AddAgent  WFDescomponeDR
AgentManager_InitResponse  WFDescomponeDR
FIPA-Request  WFDescomponeDR
AddAgent  WFDescomponeOR


ProcessNotification (Tarea)

Propiedades:
IDProcessNotification 
DescripcionThis task sends a notification to the UserDevice. 

Relaciones:
En el rolEn la relacion Otros extremos
RWFEjecutaD WFEjecuta 
Con los objetosEn el rol
UserInterface  RWFEjecutaO
RWFEjecutaD WFEjecuta 
Con los objetosEn el rol
UserInterface  RWFEjecutaO
WFConectaDR WFConecta 
Con los objetosEn el rol
UserInterface_ProcessResponse  WFConectaOR
WFConectaDR WFConecta 
Con los objetosEn el rol
UserInterface_ProcessResponse  WFConectaOR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
InteractWithUser  WFDescomponeDR
UserInterface_ProcessResponse  WFDescomponeDR
AddAgent  WFDescomponeDR
AgentManager_InitResponse  WFDescomponeDR
AddAgent  WFDescomponeOR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
InteractWithUser  WFDescomponeDR
UserInterface_ProcessResponse  WFDescomponeDR
AddAgent  WFDescomponeDR
AgentManager_InitResponse  WFDescomponeDR
FIPA-Request  WFDescomponeDR
AddAgent  WFDescomponeOR


UserInterface_ProcessResponse (Tarea)

Propiedades:
IDUserInterface_ProcessResponse 
DescripcionMakes the processing of the add/remove agent response to the request. 

Relaciones:
En el rolEn la relacion Otros extremos
RWFEjecutaD WFEjecuta 
Con los objetosEn el rol
UserInterface  RWFEjecutaO
RWFEjecutaD WFEjecuta 
Con los objetosEn el rol
UserInterface  RWFEjecutaO
WFConectaDR WFConecta 
Con los objetosEn el rol
AgentManager_InitResponse  WFConectaOR
WFConectaDR WFConecta 
Con los objetosEn el rol
FIPA-Request  WFConectaOR
WFConectaOR WFConecta 
Con los objetosEn el rol
ProcessNotification  WFConectaDR
WFConectaOR WFConecta 
Con los objetosEn el rol
ProcessNotification  WFConectaDR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
InteractWithUser  WFDescomponeDR
ProcessNotification  WFDescomponeDR
AddAgent  WFDescomponeDR
AgentManager_InitResponse  WFDescomponeDR
AddAgent  WFDescomponeOR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
InteractWithUser  WFDescomponeDR
ProcessNotification  WFDescomponeDR
AddAgent  WFDescomponeDR
AgentManager_InitResponse  WFDescomponeDR
FIPA-Request  WFDescomponeDR
AddAgent  WFDescomponeOR