Documentacion: RemoveAgent_TasksAndGoals

Descripcion: Complete description of the tasks, interactions, facts and events involved in the workflow RemoveAgent. The workflow goal is to remove a requested agent which exists in the system.

The workflow is specified without and with the FIPA-Request protocol. In the first diagram the possible communications in the workflow relies in its specific tasks. In the second diagram the communication is explicitly carried out by the tasks in the FIPA-Request protocol. The following descriptions do not consider communication matters.

The workflow begins with an user's action catched by InteractWithUser. This action is represented by the RemoveAgent event. InteractWithUser generates with this event the AgentToRemove fact. This fact is consumed by RemoveAgent, which actually carries out the required labour. This task uses the AgentManagerApplication. The RemoveAgent task could generate one of two facts: AgentRemoved or AgentNotRemoved. The first one occurs when the agent has been successfully deleted and the second one when deleting has not been possible. The success (AgentRemoved fact) or fail (AgentNotRemoved fact) notification is communicated by the AgentManager to the UserInterface requester thanks to the combined action of AgentManager_InitResponse and UserInterface_ProcessResponse. This last task generates the AgentRemoved or AgentNotRemoved fact which is consumed by ProcessNotification. ProcessNotification uses the UserDevice to send the request results to the user.


Instancias de entidades de meta-modelo

EntidadEntidad del meta-modeloDocumentacion
AgentsManagerApplication 
AplicacionInterna  It is an agent factory employed in the agent management.
It provides operations to create, remove and list agents in the community. 
UserDevice 
AplicacionInterna  It represents every device used to communicate with users.
It provides operations to send and receive general notifications from or to the interface and to receive requests about adding or removing agents. 
RemoveAgent 
EventoAplicacionSlots  The user's request to remove an agent from the MAS. 
FIPA-Request 
FlujoDeTrabajo  FIPA-Request protocol. 
AgentNotification 
Hecho  A general notification about community management, that is, add, remove or list agents. 
AgentNotRemoved 
Hecho  The requested agent could not be removed. It also have a default empty agentInformation. 
AgentRemoved 
Hecho  The requested agent has been successfully removed. It has a default status OK. It also have a default empty agentInformation. 
AgentToRemove 
Hecho  Agent to remove. 
FIPA-Request_failure 
Hecho   
FIPA-Request_failure_Origin 
Hecho   
FIPA-Request_inform-done 
Hecho   
FIPA-Request_inform-done_Origin 
Hecho   
FIPA-Request_request 
Hecho   
FIPA-Request_request_Origin 
Hecho   
RemoveAgent 
Interaccion  Remove an agent from the community. 
Note 
Nota  The RemoveAgent workflow is specified in two different ways. The first diagram corresponds to the specification without protocols while the second one corresponds to that using a predefined FIPA-Request protocol. 
Request Note 
Nota  This fact includes the data of the AgentToRemove fact. 
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. 
RemoveAgent 
Tarea  Remove an agent from the system. 
UserInterface_ProcessResponse 
Tarea  Makes the processing of the add/remove agent response to the request. 


AgentsManagerApplication (AplicacionInterna)

Properties:
IDAgentsManagerApplication 
DescripcionIt is an agent factory employed in the agent management.
It provides operations to create, remove and list agents in the community. 
OperacionesaddAgent removeAgent listAgents  

Relaciones:
En el rolEn la relacion Otros extremos
WFUsaDR WFUsa 
Con los objetosEn el rol
RemoveAgent  WFUsaOR
 


UserDevice (AplicacionInterna)

Properties:
IDUserDevice 
DescripcionIt represents every device used to communicate with users.
It provides operations to send and receive general notifications from or to the interface and to receive requests about adding or removing agents. 
OperacionessentMesage receiveMessage addNewAgent removeAgent  

Relaciones:
En el rolEn la relacion Otros extremos
WFUsaDR WFUsa 
Con los objetosEn el rol
ProcessNotification  WFUsaOR
 


RemoveAgent (EventoAplicacionSlots)

Properties:
IDRemoveAgent 
DescripcionThe user's request to remove an agent from the MAS. 
aplicacion 
slotsuser agentID  

Relaciones:
En el rolEn la relacion Otros extremos
WFConsumeDR WFConsume 
Con los objetosEn el rol
InteractWithUser  WFConsumeOR
WFConsumeDR WFConsume 
Con los objetosEn el rol
InteractWithUser  WFConsumeOR
 


FIPA-Request (FlujoDeTrabajo)

Properties:
IDFIPA-Request 
DescripcionFIPA-Request protocol. 

Relaciones:
En el rolEn la relacion Otros extremos
WFConsumeOR WFConsume 
Con los objetosEn el rol
FIPA-Request_request_Origin  WFConsumeDR
WFConsumeOR WFConsume 
Con los objetosEn el rol
FIPA-Request_inform-done_Origin  WFConsumeDR
WFConsumeOR WFConsume 
Con los objetosEn el rol
FIPA-Request_failure_Origin  WFConsumeDR
WFProduceOR WFProduce 
Con los objetosEn el rol
FIPA-Request_request  WFProduceDR
WFProduceOR WFProduce 
Con los objetosEn el rol
FIPA-Request_failure  WFProduceDR
WFProduceOR WFProduce 
Con los objetosEn el rol
FIPA-Request_inform-done  WFProduceDR
 


AgentNotification (Hecho)

Properties:
NombreAgentNotification 
DescripcionA general notification about community management, that is, add, remove or list agents. 
SlotsNombre slot:user
Descripcion slot:Document owner.

Nombre slot:agentID
Descripcion slot:Agent identification in the system.

Nombre slot:agentInformation
Descripcion slot:Information needed to create an agent.

Nombre slot:status
Descripcion slot:Action status. It can be a Classification status, an Agent Status or a Category Status. Classification Status shows the reason of the no document obtaining, classification or movement. Agent Status shows the reason of the no agent adding, removing or listing. Category Status shows the reason of the fail in an operation requested by the user over the categories or its documents.

 

Relaciones:
En el rolEn la relacion Otros extremos
GTHerenciaDR GTHerenciaHecho 
Con los objetosEn el rol
AgentNotRemoved  GTHerenciaOR
GTHerenciaDR GTHerenciaHecho 
Con los objetosEn el rol
AgentRemoved  GTHerenciaOR
GTHerenciaDR GTHerenciaHecho 
Con los objetosEn el rol
AgentNotRemoved  GTHerenciaOR
GTHerenciaDR GTHerenciaHecho 
Con los objetosEn el rol
AgentRemoved  GTHerenciaOR
WFConsumeDR WFConsume 
Con los objetosEn el rol
ProcessNotification  WFConsumeOR
WFConsumeDR WFConsume 
Con los objetosEn el rol
ProcessNotification  WFConsumeOR
 


AgentNotRemoved (Hecho)

Properties:
NombreAgentNotRemoved 
DescripcionThe requested agent could not be removed. It also have a default empty agentInformation. 
SlotsNombre slot:user
Descripcion slot:Document owner.

Nombre slot:agentID
Descripcion slot:Agent identification in the system.

Nombre slot:status
Descripcion slot:Action status. It can be a Classification status, an Agent Status or a Category Status. Classification Status shows the reason of the no document obtaining, classification or movement. Agent Status shows the reason of the no agent adding, removing or listing. Category Status shows the reason of the fail in an operation requested by the user over the categories or its documents.

 

Relaciones:
En el rolEn la relacion Otros extremos
GTCreaDR GTCrea
  • CondicionMental: 
  •  
    Con los objetosEn el rol
    RemoveAgent  GTCreaOR
    GTHerenciaOR GTHerenciaHecho 
    Con los objetosEn el rol
    AgentNotification  GTHerenciaDR
    GTHerenciaOR GTHerenciaHecho 
    Con los objetosEn el rol
    AgentNotification  GTHerenciaDR
    WFConsumeDR WFConsume 
    Con los objetosEn el rol
    AgentManager_InitResponse  WFConsumeOR
    WFConsumeDR WFConsume 
    Con los objetosEn el rol
    AgentManager_InitResponse  WFConsumeOR
    WFProduceDR WFProduce 
    Con los objetosEn el rol
    UserInterface_ProcessResponse  WFProduceOR
    WFProduceDR WFProduce 
    Con los objetosEn el rol
    RemoveAgent  WFProduceOR
    WFProduceDR WFProduce 
    Con los objetosEn el rol
    UserInterface_ProcessResponse  WFProduceOR
     


    AgentRemoved (Hecho)

    Properties:
    NombreAgentRemoved 
    DescripcionThe requested agent has been successfully removed. It has a default status OK. It also have a default empty agentInformation. 
    SlotsNombre slot:user
    Descripcion slot:Document owner.

    Nombre slot:agentID
    Descripcion slot:Agent identification in the system.

     

    Relaciones:
    En el rolEn la relacion Otros extremos
    GTCreaDR GTCrea
  • CondicionMental: 
  •  
    Con los objetosEn el rol
    RemoveAgent  GTCreaOR
    GTHerenciaOR GTHerenciaHecho 
    Con los objetosEn el rol
    AgentNotification  GTHerenciaDR
    GTHerenciaOR GTHerenciaHecho 
    Con los objetosEn el rol
    AgentNotification  GTHerenciaDR
    WFConsumeDR WFConsume 
    Con los objetosEn el rol
    AgentManager_InitResponse  WFConsumeOR
    WFConsumeDR WFConsume 
    Con los objetosEn el rol
    AgentManager_InitResponse  WFConsumeOR
    WFProduceDR WFProduce 
    Con los objetosEn el rol
    UserInterface_ProcessResponse  WFProduceOR
    WFProduceDR WFProduce 
    Con los objetosEn el rol
    RemoveAgent  WFProduceOR
    WFProduceDR WFProduce 
    Con los objetosEn el rol
    UserInterface_ProcessResponse  WFProduceOR
     


    AgentToRemove (Hecho)

    Properties:
    NombreAgentToRemove 
    DescripcionAgent to remove. 
    SlotsNombre slot:user
    Descripcion slot:Document owner.

    Nombre slot:agentID
    Descripcion slot:Agent identification in the system.

     

    Relaciones:
    En el rolEn la relacion Otros extremos
    WFConsumeDR WFConsume 
    Con los objetosEn el rol
    RemoveAgent  WFConsumeOR
    WFProduceDR WFProduce 
    Con los objetosEn el rol
    InteractWithUser  WFProduceOR
     


    FIPA-Request_failure (Hecho)

    Properties:
    NombreFIPA-Request_failure 
    Descripcion 
    Slots 

    Relaciones:
    En el rolEn la relacion Otros extremos
    WFConsumeDR WFConsume 
    Con los objetosEn el rol
    UserInterface_ProcessResponse  WFConsumeOR
    WFProduceDR WFProduce 
    Con los objetosEn el rol
    FIPA-Request  WFProduceOR
     


    FIPA-Request_failure_Origin (Hecho)

    Properties:
    NombreFIPA-Request_failure_Origin 
    Descripcion 
    Slots 

    Relaciones:
    En el rolEn la relacion Otros extremos
    WFConsumeDR WFConsume 
    Con los objetosEn el rol
    FIPA-Request  WFConsumeOR
    WFProduceDR WFProduce 
    Con los objetosEn el rol
    AgentManager_InitResponse  WFProduceOR
     


    FIPA-Request_inform-done (Hecho)

    Properties:
    NombreFIPA-Request_inform-done 
    Descripcion 
    Slots 

    Relaciones:
    En el rolEn la relacion Otros extremos
    WFConsumeDR WFConsume 
    Con los objetosEn el rol
    UserInterface_ProcessResponse  WFConsumeOR
    WFProduceDR WFProduce 
    Con los objetosEn el rol
    FIPA-Request  WFProduceOR
     


    FIPA-Request_inform-done_Origin (Hecho)

    Properties:
    NombreFIPA-Request_inform-done_Origin 
    Descripcion 
    Slots 

    Relaciones:
    En el rolEn la relacion Otros extremos
    WFConsumeDR WFConsume 
    Con los objetosEn el rol
    FIPA-Request  WFConsumeOR
    WFProduceDR WFProduce 
    Con los objetosEn el rol
    AgentManager_InitResponse  WFProduceOR
     


    FIPA-Request_request (Hecho)

    Properties:
    NombreFIPA-Request_request 
    Descripcion 
    Slots 

    Relaciones:
    En el rolEn la relacion Otros extremos
    NComentaDR NComenta 
    Con los objetosEn el rol
    Request Note  NComentaOR
    WFConsumeDR WFConsume 
    Con los objetosEn el rol
    RemoveAgent  WFConsumeOR
    WFProduceDR WFProduce 
    Con los objetosEn el rol
    FIPA-Request  WFProduceOR
     


    FIPA-Request_request_Origin (Hecho)

    Properties:
    NombreFIPA-Request_request_Origin 
    Descripcion 
    Slots 

    Relaciones:
    En el rolEn la relacion Otros extremos
    WFConsumeDR WFConsume 
    Con los objetosEn el rol
    FIPA-Request  WFConsumeOR
    WFProduceDR WFProduce 
    Con los objetosEn el rol
    InteractWithUser  WFProduceOR
     


    RemoveAgent (Interaccion)

    Properties:
    EtiquetaRemoveAgent 
    DescripcionRemove an agent from the community. 
    Naturaleza_Interaccioncooperacion 

    Relaciones:
    En el rolEn la relacion Otros extremos
    WFProduceDR WFProduce 
    Con los objetosEn el rol
    InteractWithUser  WFProduceOR
    WFProduceDR WFProduce 
    Con los objetosEn el rol
    InteractWithUser  WFProduceOR
     


    Note (Nota)

    Properties:
    IDNote 
    DescripcionThe RemoveAgent workflow is specified in two different ways. The first diagram corresponds to the specification without protocols while the second one corresponds to that using a predefined FIPA-Request protocol. 

    Relaciones:


    Request Note (Nota)

    Properties:
    IDRequest Note 
    DescripcionThis fact includes the data of the AgentToRemove fact. 

    Relaciones:
    En el rolEn la relacion Otros extremos
    NComentaOR NComenta 
    Con los objetosEn el rol
    FIPA-Request_request  NComentaDR
     


    AgentManager_InitResponse (Tarea)

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

    Relaciones:
    En el rolEn la relacion Otros extremos
    RTarea WFConecta 
    Con los objetosEn el rol
    UserInterface_ProcessResponse  RTareaDestino
    RTarea WFConecta 
    Con los objetosEn el rol
    UserInterface_ProcessResponse  RTareaDestino
    WFConsumeOR WFConsume 
    Con los objetosEn el rol
    AgentNotRemoved  WFConsumeDR
    WFConsumeOR WFConsume 
    Con los objetosEn el rol
    AgentRemoved  WFConsumeDR
    WFConsumeOR WFConsume 
    Con los objetosEn el rol
    AgentRemoved  WFConsumeDR
    WFConsumeOR WFConsume 
    Con los objetosEn el rol
    AgentNotRemoved  WFConsumeDR
    WFProduceOR WFProduce 
    Con los objetosEn el rol
    FIPA-Request_failure_Origin  WFProduceDR
    WFProduceOR WFProduce 
    Con los objetosEn el rol
    FIPA-Request_inform-done_Origin  WFProduceDR
     


    InteractWithUser (Tarea)

    Properties:
    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
    WFConsumeOR WFConsume 
    Con los objetosEn el rol
    RemoveAgent  WFConsumeDR
    WFConsumeOR WFConsume 
    Con los objetosEn el rol
    RemoveAgent  WFConsumeDR
    WFProduceOR WFProduce 
    Con los objetosEn el rol
    RemoveAgent  WFProduceDR
    WFProduceOR WFProduce 
    Con los objetosEn el rol
    AgentToRemove  WFProduceDR
    WFProduceOR WFProduce 
    Con los objetosEn el rol
    RemoveAgent  WFProduceDR
    WFProduceOR WFProduce 
    Con los objetosEn el rol
    FIPA-Request_request_Origin  WFProduceDR
     


    ProcessNotification (Tarea)

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

    Relaciones:
    En el rolEn la relacion Otros extremos
    WFConsumeOR WFConsume 
    Con los objetosEn el rol
    AgentNotification  WFConsumeDR
    WFConsumeOR WFConsume 
    Con los objetosEn el rol
    AgentNotification  WFConsumeDR
    WFUsaOR WFUsa 
    Con los objetosEn el rol
    UserDevice  WFUsaDR
     


    RemoveAgent (Tarea)

    Properties:
    IDRemoveAgent 
    DescripcionRemove an agent from the system. 

    Relaciones:
    En el rolEn la relacion Otros extremos
    GTCreaOR GTCrea
  • CondicionMental: 
  •  
    Con los objetosEn el rol
    AgentRemoved  GTCreaDR
    GTCreaOR GTCrea
  • CondicionMental: 
  •  
    Con los objetosEn el rol
    AgentNotRemoved  GTCreaDR
    WFConsumeOR WFConsume 
    Con los objetosEn el rol
    AgentToRemove  WFConsumeDR
    WFConsumeOR WFConsume 
    Con los objetosEn el rol
    FIPA-Request_request  WFConsumeDR
    WFProduceOR WFProduce 
    Con los objetosEn el rol
    AgentRemoved  WFProduceDR
    WFProduceOR WFProduce 
    Con los objetosEn el rol
    AgentNotRemoved  WFProduceDR
    WFUsaOR WFUsa 
    Con los objetosEn el rol
    AgentsManagerApplication  WFUsaDR
     


    UserInterface_ProcessResponse (Tarea)

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

    Relaciones:
    En el rolEn la relacion Otros extremos
    RTareaDestino WFConecta 
    Con los objetosEn el rol
    AgentManager_InitResponse  RTarea
    RTareaDestino WFConecta 
    Con los objetosEn el rol
    AgentManager_InitResponse  RTarea
    WFConsumeOR WFConsume 
    Con los objetosEn el rol
    FIPA-Request_failure  WFConsumeDR
    WFConsumeOR WFConsume 
    Con los objetosEn el rol
    FIPA-Request_inform-done  WFConsumeDR
    WFProduceOR WFProduce 
    Con los objetosEn el rol
    AgentRemoved  WFProduceDR
    WFProduceOR WFProduce 
    Con los objetosEn el rol
    AgentNotRemoved  WFProduceDR
    WFProduceOR WFProduce 
    Con los objetosEn el rol
    AgentNotRemoved  WFProduceDR
    WFProduceOR WFProduce 
    Con los objetosEn el rol
    AgentRemoved  WFProduceDR