Documentacion: ClassifyEmail_Workflow

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

This workflow classifies an e-mail. 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. The following descriptions do not consider communication matters.

The workflow begins with an e-mail to be classified. It has its origin in an EmailWrapper event. This e-mail is catched by RequestClassifyEmail. The task directs this asking to ClassifyEmail, which manages the categorization. The categorization begins processing the e-mail to obtain a document classifiable by the categorization tool. This labour is made by ProcessEmail. If ProcessEmail is successful, it generates a document which is consumed by the ClassifyDocument workflow. This workflow produces the e-mail category. If ProcessEmail is not successful, it notifies an error. The obtained category or the resulting error are communicated to the requester thanks to the combined action of ClassifyEmailManager_InitResponse and ClassifyEmailRequester_ProcessResponse. The first one is employed by the role ClassifyEmailManager to begin the communication. The role ClassifyEmailRequester receives the notifications with ClassifyEmailRequester_ProcessResponse and prepares the next steps in the global process.


Instancias de entidades de meta-modelo

EntidadEntidad del meta-modeloDocumentacion
Classify Document 
FlujoDeTrabajo  Describes the workflow to classify a document with the Categorizer and the user (only if it is necessary). 
ClassifyEmail 
FlujoDeTrabajo  Describes the workflow to classify an e-mail. 
FIPA-Request 
FlujoDeTrabajo  FIPA-Request protocol. 
Note 
Nota  The ClassifyEmail 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. 
ClassifyEmailManager 
Rol  It manages the classifying process over an e-mail. 
ClassifyEmailRequester 
Rol  It represents the requester of a classify action over an e-mail. 
ClasifyEmailRequester_ProcessResponse 
Tarea  Makes the processing of the classify e-mail response to the request. 
ClassifyEmail 
Tarea  Classify a given e-mail in one category doing the necessary additional mail processing. 
ClassifyEmailManager_InitResponse 
Tarea  Makes the sending of the classify e-mail response. 
ProcessEmail 
Tarea  Convert an e-mail to a document processable by the Categorizer. 
RequestClassifyEmail 
Tarea  Request an e-mail classification. 


Classify Document (FlujoDeTrabajo)

Propiedades:
IDClassify Document 
DescripcionDescribes the workflow to classify a document with the Categorizer and the user (only if it is necessary). 

Relaciones:
En el rolEn la relacion Otros extremos
WFConectaDR WFConecta 
Con los objetosEn el rol
ProcessEmail  WFConectaOR
WFConectaDR WFConecta 
Con los objetosEn el rol
ProcessEmail  WFConectaOR
WFConectaOR WFConecta 
Con los objetosEn el rol
ClassifyEmailManager_InitResponse  WFConectaDR
WFConectaOR WFConecta 
Con los objetosEn el rol
ClassifyEmailManager_InitResponse  WFConectaDR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
RequestClassifyEmail  WFDescomponeDR
ClasifyEmailRequester_ProcessResponse  WFDescomponeDR
ClassifyEmail  WFDescomponeDR
ClassifyEmailManager_InitResponse  WFDescomponeDR
ProcessEmail  WFDescomponeDR
FIPA-Request  WFDescomponeDR
ClassifyEmail  WFDescomponeOR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
RequestClassifyEmail  WFDescomponeDR
ClasifyEmailRequester_ProcessResponse  WFDescomponeDR
ClassifyEmail  WFDescomponeDR
ClassifyEmailManager_InitResponse  WFDescomponeDR
ProcessEmail  WFDescomponeDR
ClassifyEmail  WFDescomponeOR

Diagramas relacionados
ClassifyDocument_Workflow

ClassifyEmail (FlujoDeTrabajo)

Propiedades:
IDClassifyEmail 
DescripcionDescribes the workflow to classify an e-mail. 

Relaciones:
En el rolEn la relacion Otros extremos
WFDescomponeOR WFDescompone 
Con los objetosEn el rol
RequestClassifyEmail  WFDescomponeDR
ClasifyEmailRequester_ProcessResponse  WFDescomponeDR
ClassifyEmail  WFDescomponeDR
ClassifyEmailManager_InitResponse  WFDescomponeDR
ProcessEmail  WFDescomponeDR
Classify Document  WFDescomponeDR
FIPA-Request  WFDescomponeDR
WFDescomponeOR WFDescompone 
Con los objetosEn el rol
RequestClassifyEmail  WFDescomponeDR
ClasifyEmailRequester_ProcessResponse  WFDescomponeDR
ClassifyEmail  WFDescomponeDR
ClassifyEmailManager_InitResponse  WFDescomponeDR
ProcessEmail  WFDescomponeDR
Classify Document  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
RequestClassifyEmail  WFConectaOR
WFConectaDR WFConecta 
Con los objetosEn el rol
ClassifyEmailManager_InitResponse  WFConectaOR
WFConectaOR WFConecta 
Con los objetosEn el rol
ClassifyEmail  WFConectaDR
WFConectaOR WFConecta 
Con los objetosEn el rol
ClasifyEmailRequester_ProcessResponse  WFConectaDR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
RequestClassifyEmail  WFDescomponeDR
ClasifyEmailRequester_ProcessResponse  WFDescomponeDR
ClassifyEmail  WFDescomponeDR
ClassifyEmailManager_InitResponse  WFDescomponeDR
ProcessEmail  WFDescomponeDR
Classify Document  WFDescomponeDR
ClassifyEmail  WFDescomponeOR

Diagramas relacionados
FIPA-Request_Workflow

Note (Nota)

Propiedades:
IDNote 
DescripcionThe ClassifyEmail 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:


ClassifyEmailManager (Rol)

Propiedades:
IDClassifyEmailManager 
DescripcionIt manages the classifying process over an e-mail. 

Relaciones:
En el rolEn la relacion Otros extremos
RWFEjecutaO WFEjecuta 
Con los objetosEn el rol
ClassifyEmailManager_InitResponse  RWFEjecutaD
RWFEjecutaO WFEjecuta 
Con los objetosEn el rol
ProcessEmail  RWFEjecutaD
RWFEjecutaO WFEjecuta 
Con los objetosEn el rol
ClassifyEmailManager_InitResponse  RWFEjecutaD
RWFEjecutaO WFEjecuta 
Con los objetosEn el rol
ProcessEmail  RWFEjecutaD
WFResponsableDR WFResponsable 
Con los objetosEn el rol
ClassifyEmail  WFResponsableOR
WFResponsableDR WFResponsable 
Con los objetosEn el rol
ClassifyEmail  WFResponsableOR


ClassifyEmailRequester (Rol)

Propiedades:
IDClassifyEmailRequester 
DescripcionIt represents the requester of a classify action over an e-mail. 

Relaciones:
En el rolEn la relacion Otros extremos
RWFEjecutaO WFEjecuta 
Con los objetosEn el rol
RequestClassifyEmail  RWFEjecutaD
RWFEjecutaO WFEjecuta 
Con los objetosEn el rol
ClasifyEmailRequester_ProcessResponse  RWFEjecutaD
RWFEjecutaO WFEjecuta 
Con los objetosEn el rol
RequestClassifyEmail  RWFEjecutaD
RWFEjecutaO WFEjecuta 
Con los objetosEn el rol
ClasifyEmailRequester_ProcessResponse  RWFEjecutaD


ClasifyEmailRequester_ProcessResponse (Tarea)

Propiedades:
IDClasifyEmailRequester_ProcessResponse 
DescripcionMakes the processing of the classify e-mail response to the request. 

Relaciones:
En el rolEn la relacion Otros extremos
RWFEjecutaD WFEjecuta 
Con los objetosEn el rol
ClassifyEmailRequester  RWFEjecutaO
RWFEjecutaD WFEjecuta 
Con los objetosEn el rol
ClassifyEmailRequester  RWFEjecutaO
WFConectaDR WFConecta 
Con los objetosEn el rol
FIPA-Request  WFConectaOR
WFConectaDR WFConecta 
Con los objetosEn el rol
ClassifyEmailManager_InitResponse  WFConectaOR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
RequestClassifyEmail  WFDescomponeDR
ClassifyEmail  WFDescomponeDR
ClassifyEmailManager_InitResponse  WFDescomponeDR
ProcessEmail  WFDescomponeDR
Classify Document  WFDescomponeDR
FIPA-Request  WFDescomponeDR
ClassifyEmail  WFDescomponeOR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
RequestClassifyEmail  WFDescomponeDR
ClassifyEmail  WFDescomponeDR
ClassifyEmailManager_InitResponse  WFDescomponeDR
ProcessEmail  WFDescomponeDR
Classify Document  WFDescomponeDR
ClassifyEmail  WFDescomponeOR


ClassifyEmail (Tarea)

Propiedades:
IDClassifyEmail 
DescripcionClassify a given e-mail in one category doing the necessary additional mail processing. 

Relaciones:
En el rolEn la relacion Otros extremos
WFConectaDR WFConecta 
Con los objetosEn el rol
RequestClassifyEmail  WFConectaOR
WFConectaDR WFConecta 
Con los objetosEn el rol
FIPA-Request  WFConectaOR
WFConectaOR WFConecta 
Con los objetosEn el rol
ProcessEmail  WFConectaDR
WFConectaOR WFConecta 
Con los objetosEn el rol
ProcessEmail  WFConectaDR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
RequestClassifyEmail  WFDescomponeDR
ClasifyEmailRequester_ProcessResponse  WFDescomponeDR
ClassifyEmailManager_InitResponse  WFDescomponeDR
ProcessEmail  WFDescomponeDR
Classify Document  WFDescomponeDR
FIPA-Request  WFDescomponeDR
ClassifyEmail  WFDescomponeOR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
RequestClassifyEmail  WFDescomponeDR
ClasifyEmailRequester_ProcessResponse  WFDescomponeDR
ClassifyEmailManager_InitResponse  WFDescomponeDR
ProcessEmail  WFDescomponeDR
Classify Document  WFDescomponeDR
ClassifyEmail  WFDescomponeOR
WFResponsableOR WFResponsable 
Con los objetosEn el rol
ClassifyEmailManager  WFResponsableDR
WFResponsableOR WFResponsable 
Con los objetosEn el rol
ClassifyEmailManager  WFResponsableDR


ClassifyEmailManager_InitResponse (Tarea)

Propiedades:
IDClassifyEmailManager_InitResponse 
DescripcionMakes the sending of the classify e-mail response. 

Relaciones:
En el rolEn la relacion Otros extremos
RWFEjecutaD WFEjecuta 
Con los objetosEn el rol
ClassifyEmailManager  RWFEjecutaO
RWFEjecutaD WFEjecuta 
Con los objetosEn el rol
ClassifyEmailManager  RWFEjecutaO
WFConectaDR WFConecta 
Con los objetosEn el rol
ProcessEmail  WFConectaOR
WFConectaDR WFConecta 
Con los objetosEn el rol
Classify Document  WFConectaOR
WFConectaDR WFConecta 
Con los objetosEn el rol
Classify Document  WFConectaOR
WFConectaDR WFConecta 
Con los objetosEn el rol
ProcessEmail  WFConectaOR
WFConectaOR WFConecta 
Con los objetosEn el rol
ClasifyEmailRequester_ProcessResponse  WFConectaDR
WFConectaOR WFConecta 
Con los objetosEn el rol
FIPA-Request  WFConectaDR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
RequestClassifyEmail  WFDescomponeDR
ClasifyEmailRequester_ProcessResponse  WFDescomponeDR
ClassifyEmail  WFDescomponeDR
ProcessEmail  WFDescomponeDR
Classify Document  WFDescomponeDR
FIPA-Request  WFDescomponeDR
ClassifyEmail  WFDescomponeOR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
RequestClassifyEmail  WFDescomponeDR
ClasifyEmailRequester_ProcessResponse  WFDescomponeDR
ClassifyEmail  WFDescomponeDR
ProcessEmail  WFDescomponeDR
Classify Document  WFDescomponeDR
ClassifyEmail  WFDescomponeOR


ProcessEmail (Tarea)

Propiedades:
IDProcessEmail 
DescripcionConvert an e-mail to a document processable by the Categorizer. 

Relaciones:
En el rolEn la relacion Otros extremos
RWFEjecutaD WFEjecuta 
Con los objetosEn el rol
ClassifyEmailManager  RWFEjecutaO
RWFEjecutaD WFEjecuta 
Con los objetosEn el rol
ClassifyEmailManager  RWFEjecutaO
WFConectaDR WFConecta 
Con los objetosEn el rol
ClassifyEmail  WFConectaOR
WFConectaDR WFConecta 
Con los objetosEn el rol
ClassifyEmail  WFConectaOR
WFConectaOR WFConecta 
Con los objetosEn el rol
Classify Document  WFConectaDR
WFConectaOR WFConecta 
Con los objetosEn el rol
Classify Document  WFConectaDR
WFConectaOR WFConecta 
Con los objetosEn el rol
ClassifyEmailManager_InitResponse  WFConectaDR
WFConectaOR WFConecta 
Con los objetosEn el rol
ClassifyEmailManager_InitResponse  WFConectaDR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
RequestClassifyEmail  WFDescomponeDR
ClasifyEmailRequester_ProcessResponse  WFDescomponeDR
ClassifyEmail  WFDescomponeDR
ClassifyEmailManager_InitResponse  WFDescomponeDR
Classify Document  WFDescomponeDR
FIPA-Request  WFDescomponeDR
ClassifyEmail  WFDescomponeOR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
RequestClassifyEmail  WFDescomponeDR
ClasifyEmailRequester_ProcessResponse  WFDescomponeDR
ClassifyEmail  WFDescomponeDR
ClassifyEmailManager_InitResponse  WFDescomponeDR
Classify Document  WFDescomponeDR
ClassifyEmail  WFDescomponeOR


RequestClassifyEmail (Tarea)

Propiedades:
IDRequestClassifyEmail 
DescripcionRequest an e-mail classification. 

Relaciones:
En el rolEn la relacion Otros extremos
RWFEjecutaD WFEjecuta 
Con los objetosEn el rol
ClassifyEmailRequester  RWFEjecutaO
RWFEjecutaD WFEjecuta 
Con los objetosEn el rol
ClassifyEmailRequester  RWFEjecutaO
WFConectaOR WFConecta 
Con los objetosEn el rol
ClassifyEmail  WFConectaDR
WFConectaOR WFConecta 
Con los objetosEn el rol
FIPA-Request  WFConectaDR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
ClasifyEmailRequester_ProcessResponse  WFDescomponeDR
ClassifyEmail  WFDescomponeDR
ClassifyEmailManager_InitResponse  WFDescomponeDR
ProcessEmail  WFDescomponeDR
Classify Document  WFDescomponeDR
FIPA-Request  WFDescomponeDR
ClassifyEmail  WFDescomponeOR
WFDescomponeDR WFDescompone 
Con los objetosEn el rol
ClasifyEmailRequester_ProcessResponse  WFDescomponeDR
ClassifyEmail  WFDescomponeDR
ClassifyEmailManager_InitResponse  WFDescomponeDR
ProcessEmail  WFDescomponeDR
Classify Document  WFDescomponeDR
ClassifyEmail  WFDescomponeOR