Los Eventos Enlace se usan para simplificar los Flujos de Secuencia dentro de una Piscina, acortándolos, evitando cruces, etc.
A diferencia de los demás Eventos que tienen consecuencias en el devenir del Proceso: reciben mensajes, pausan el Proceso, envían señales, etc.; los Eventos Enlace no tienen ninguna consecuencia en la lógica del Proceso, solo sirven para hacer más legible el diagrama.
Los Eventos Enlace sólo pueden ser Intermedios en el Flujo, nunca en el Borde de una Actividad, no pueden ser Iniciales ni Finales.
Como todo Evento, un Evento Enlace se dibuja con un círculo. Dentro del círculo se dibuja una flecha.
Los Eventos Enlace están limitados a un solo nivel de Proceso. Es decir, no pueden vincular un Proceso Principal con un Subproceso, y tampoco pueden vincular dos Piscinas. Dos Eventos Enlace con el mismo nombre en distintas Piscinas no tienen relación alguna entre ellos.
Los Eventos Enlace sirven para:
- Evitar largos Flujos de Secuencia.
- Evitar que los Flujos de Secuencia se crucen.
- Simplificar la visualización de un Cliclo, al evitar que haya un Flujo de Secuencia que viaje "en sentido contrario" a la dirección del Proceso. (Algunas metodologías prescriben que todos los Flujos de Secuencia se orienten en la misma dirección; normalmente, de izquierda a derecha o de arriba a abajo.)
- Para mostrar dónde un Flujo de Secuencia deja una página y luego continúa en otra página cuando, por motivos de tamaño, un diagrama se muestra en más de una página, por ejemplo, al imprimirlo.
Un Evento Intermedio de Lanzamiento marca el punto de origen del Flujo de Secuencia, y el Evento Intermedio de Captura marca el punto donde continúa el Flujo de Secuencia. Los Eventos Enlace de Lanzamiento y Captura deben estar emparejados por sus nombres dentro de la Piscina.
- Por cada Evento Enlace de Lanzamiento debe tener debe haber un y solo un Evento Enlace de Captura con el mismo nombre. El Flujo de Secuencia debe continuar en un punto único.
- Por cada Evento Enlace de Captura debe haber uno o más Eventos Enlace de Lanzamiento con el mismo nombre. El punto de continuación del Flujo debe tener al menos un origen.
- No puede haber Eventos Enlace (Lanzamiento o Captura) sin nombre.
Un Evento Intermedio Enlace no puede tener a la vez Flujos de Secuencia entrantes y salientes.
- Un Evento Intermedio Enlace de Lanzamiento debe tener uno o más Flujos de Secuencia de Entrada, y no debe tener Flujos de Secuencia de Salida.
- Un Evento Intermedio Enlace de Captura no debe tener Flujos de Secuencia de Entrada, y debe tener uno o más Flujos de Secuencia de Salida.
Figuras 10.84 a 10.87.
****************************************************************************************
Un Evento TIPO-EVENTO indica un punto donde un Proceso xxxxxxxxxxxxxx.
Como todo Evento, un Evento TIPO-EVENTO se dibuja con un círculo con distintos tipos de línea según sea Inicial, Intermedio o Final. Dentro del círculo se dibuja un(a) xxxxx.
Variantes de Eventos TIPO-EVENTO en BPMN
DESCRIPCIÓN RESUMIDA DEL TIPO DE EVENTO. INCLUYE UNA EXPLICACIÓN DE SU SIGNIFICADO.
Texto.
Texto.
Ejemplo 1
Texto.
Texto.
Ejemplo 1
Texto.
Ejemplo 2
Texto.
Ejemplo 2
- Texto.
- Texto.
- Texto.
- Texto.
Significado del Evento TIPO-EVENTO
- Ejecución de Procesos
- Texto.
- Modelado de Procesos
- Texto.
Texto.
Texto.
Texto.
Tema 1
Texto.
Texto.
Texto.
Tema 2
Texto.
Texto.
Texto.
Evento TIPO-EVENTO Variantes
Hay nnn variantes del Evento TIPO-EVENTO. Este Evento puede ser usado en xxxx Posiciones y Modos.
Variantes de Eventos TIPO-EVENTO
| Posición del Evento | Modo | Notación | Descripción | |
|---|---|---|---|---|
| Evento Inicial | Proceso Principal | Captura | N/A | Comienza una nueva instancia del Proceso cuando TIPO-EVENTO. |
| Subproceso | Captura | N/A | No puede iniciar un Subproceso en el Flujo (Embebido o Reutilizable). | |
| Evento Intermedio | en el Flujo | Captura | Espera un TIPO-EVENTO. El Flujo continúa cuando llega el TIPO-EVENTO. | |
| Lanzamiento | Envía un TIPO-EVENTO. Una vez enviado el TIPO-EVENTO el Flujo continúa. | |||
| en el Borde | Captura con Interrupción | N/A | Interrumpe la Actividad a la que está adosado cuando llega un TIPO-EVENTO, y comienza un Flujo de Excepción. | |
| Captura sin Interrupción | N/A | No interrumpe la Actividad a la que está adosado cuando llega un TIPO-EVENTO, y comienza un Flujo de Excepción. | ||
| Evento Final | Lanzamiento | N/A | Envía un TIPO-EVENTO cuando el Flujo llega al final de un camino. | |
Evento TIPO-EVENTO Intermedio
Un Evento Intermedio TIPO-EVENTO indica xxxxxxxxxxxxxx después de que comienza un Proceso y antes de que termine.
Un Evento Intermedio TIPO-EVENTO puede ser usado en el Flujo o en el Borde de una Actividad.
- Si está en el Flujo, puede recibir o enviar un TIPO-EVENTO.
- Si está en el Borde de una Actividad, solo recibe un TIPO-EVENTO, y puede interrumpir o no la Actividad.
Texto.
Eventos Intermedios TIPO-EVENTO
Conectores
- Flujo de Secuencia
-
Si el Evento Intermedio TIPO-EVENTO está en el Flujo, entonces debe tener Flujos de Secuencia de Entrada y de Salida.
Si el Evento Intermedio TIPO-EVENTO está en el Borde de una Actividad, entonces no debe tener Flujos de Secuencia de Entrada, pero sí debe tener uno o más Flujos de Secuencia de Salida.
- Flujo de Mensaje
-
xxxxxxxx.
Evento TIPO-EVENTO Intermedio en el Flujo
Los Eventos TIPO-EVENTO en el Flujo usualmente se usan para xxxxxxxxxxxxxxx.
Por ejemplo, en el Proceso de Negocio Ejemplo de la introducción xxxxxxxxxxxx.
Evento Intermedio TIPO-EVENTO en el Flujo
Evento TIPO-EVENTO Intermedio Flujo Capturador
|
Un Evento Intermedio TIPO-EVENTO Capturador en el Flujo espera xxxxxx. El Flujo continúa cuando xxxxxxxx. Se representa con un círculo de línea doble con un xxxxx. |
|
Después de ejecutada la Actividad A el Proceso entra en pausa a la espera de un TIPO-EVENTO, cuando xxxxx el control pasa a la Actividad B.
Evento Intermedio TIPO-EVENTO Capturador en el Flujo
Texto.
Una instancia del Proceso puede tener varios subflujos activos. La espera de un TIPO-EVENTO sólo impone una pausa en el subflujo que contiene el Evento Capturador, los demás continúan con su propia lógica de ejecución. En el ejemplo siguiente, hay tres caminos paralelos B, C1→C2 y D1→D2; el Evento TIPO-EVENTO produce una pausa entre D1 y D2, pero el resto del Proceso sigue su trabajo normal.
Evento Intermedio TIPO-EVENTO Capturador en Proceso con varios Flujos
Un Evento Intermedio TIPO-EVENTO Capturador también puede estar en el Flujo de un Subproceso Embebido, en cualquier nivel de anidamiento.
Evento Intermedio TIPO-EVENTO Capturador en el Flujo de Subproceso
Un TIPO-EVENTO puede xxxxx en cualquier nivel de anidamiento dentro de un Proceso.
Evento TIPO-EVENTO Intermedio Flujo Lanzador
|
Un Evento Intermedio TIPO-EVENTO Lanzador en el Flujo envía xxxxx. Texto. Se representa con un círculo de línea doble con un xxxxx oscurecido. |
|
Después de ejecutada la Actividad A el Proceso llega al Evento, lanza xxxxxx y pasa inmediatamente a la Actividad B.
Evento Intermedio TIPO-EVENTO Lanzador en el Flujo
Texto.
Texto.
Un Evento Intermedio TIPO-EVENTO Lanzador también puede estar en el Flujo de un Subproceso Embebido, en cualquier nivel de anidamiento.
Evento Intermedio TIPO-EVENTO Lanzador en el Flujo de Subproceso
Texto.
Especificación BPMN
Generally used for printing, this object will show where a Sequence Flow leaves one page and then restarts on the next page. A Link Intermediate Event can be used as an Off-Page Connector.
The Link Intermediate Events are only valid in normal flow, i.e., they MAY NOT be used on the boundary of an Activity. A Link is a mechanism for connecting two sections of a Process.
Link Events can be used to create looping situations or to avoid long Sequence Flow lines.
Link Event uses are limited to a single Process level (i.e., they cannot link a parent Process with a Sub-Process). Paired Intermediate Events can also be used as “Off-Page Connectors” for printing a Process across multiple pages. They can also be used as generic “Go To” objects within the Process level. There can be multiple source Link Events, but there can only be one target Link Event.
When used to “throw” to the target Link, the Event marker will be filled (see the top figure on the right). When used to “catch” from the source Link, the Event marker will be unfilled.
A throwing Link Intermediate Event MUST NOT have an outgoing Sequence Flow. And a and catching Link Intermediate Event MUST NOT have an incoming Sequence Flow.
A Link Intermediate Event MUST NOT be both a target and a source of a Sequence Flow.
To define the use of a Link Intermediate Event as an “Off-Page Connector” or a “Go To” object:
- A Link Intermediate Event MAY be the target (target Link) or a source (source Link) of a Sequence Flow, but MUST NOT be both a target and a source.
- If there is a source Link, there MUST be a matching target Link (they have the same name).
- There MAY be multiple source Links for a single target Link.
- There MUST NOT be multiple target Links for a single source Link.
A Link Event is a mechanism for connecting two sections of a Process. Link Events can be used to create looping situations or to avoid long Sequence Flow lines. The use of Link Events is limited to a single Process level (i.e., they cannot link a parent Process with a Sub-Process).
Paired Link Events can also be used as “Off-Page Connectors” for printing a Process across multiple pages. They can also be used as generic “Go To” objects within the Process level. There can be multiple source Link Events, but there can only be one target Link Event. When used to “catch” from the source Link, the Event marker will be unfilled (see Figure 10.84: upper right). When used to “throw” to the target Link, the Event marker will be filled.
Since Process models often extend beyond the length of one printed page, there is often a concern about showing how Sequence Flow connections extend across the page breaks. One solution that is often employed is the use of Off-Page connectors to show where one page leaves off and the other begins. BPMN provides Intermediate Events of type Link for use as Off-Page connectors (see Figure 10.84 --Note that the figure shows two different printed pages, not two Pools in one diagram). A pair of Link Events is used. One of the pair is shown at the end of one page. This Event is named and has an incoming Sequence Flow and no outgoing Sequence Flows. The second Link Event is at the beginning of the next page, shares the same name, and has an outgoing Sequence Flow and no incoming Sequence Flow.
Another way that Link Events can be used is as “Go To” objects. Functionally, they would work the same as for Off-Page Connectors (described above), except that they could be used anywhere in the diagram on the same page or across multiple pages. The general idea is that they provide a mechanism for reducing the length of Sequence Flow lines. Some modelers can consider long lines as being hard to follow or trace. Go To Objects can be used to avoid very long Sequence Flows (see Figure 10.85 and Figure 10.86). Both diagrams will behave equivalently. For Figure 10.86, if the “Order Rejected” path is taken from the Decision, then the token traversing the Sequence Flow would reach the source Link Event and then “jump” to the target Link Event and continue down the Sequence Flow. The Process would continue as if the Sequence Flow had directly connected the two objects.
Some methodologies prefer that all Sequence Flows only move in one direction; that is, forward in time. These methodologies do not allow Sequence Flows to connect directly to upstream objects. Some consistency in modeling can be gained by such a methodology, but situations that require looping become a challenge. Link Events can be used to make upstream connections and create loops without violating the Sequence Flow direction restriction (see Figure 10.87).
Attribute name. then the name MUST be entered.
target. Used to reference the corresponding 'catch' or 'target' LinkEventDefinition, when Attribute this LinkEventDefinition represents a 'throw' or 'source' LinkEventDefinition.
Attribute sources. Used to reference the corresponding 'throw' or 'source' LinkEventDefinitions (one or many), when this LinkEventDefinition represents a 'catch' or 'target' LinkEventDefinition.
The Link Intermediate Events are only valid in normal flow, i.e., they MAY NOT be used on the boundary of an Activity. A Link is a mechanism for connecting two sections of a Process. Link Events can be used to create looping situations or to avoid long Sequence Flow lines.