Cómo navegar por el SitioCómo usar el GlosarioCómo usar las Preguntas-FrecuentesCómo buscar en el SitioAcerca del SitioDeclaración acerca del contenido del Sitio
Los Objetos de Datos representan ítems que son creados, manipulados y consumidos, por Actividades y Eventos, dentro de los límites de un Proceso.
Los ítems recibidos por un Evento de Captura pueden ser asignados a un Objeto de Datos, debe haber una Asociación de Datos desde el Evento hacia el Objeto de Datos. Para un Evento Múltiple puede haber varios Objeto de Datos, uno para cada Evento en particular.
Los Objetos de Datos deben estar contenidos en un Proceso Principal o en un Subproceso.
Un Objeto de Datos solo puede ser accedido por (Ejemplo p. 206.):
El Proceso padre, es decir, el Proceso Principal o Subproceso que lo contiene de manera inmediata.
Los Subprocesos Embebidos contenidos en el Proceso padre, y sus Subprocesos Embebidos, en distintos niveles de anidamiento.
Actividades, Eventos y Referencias Objetos de Datos contenidos en los anteriores.
Cuando se instancia un Proceso o Subproceso, también se instancian todos los Objetos de Datos que contiene.
Cuando se elimina una instancia de Proceso o Subproceso, también se eliminan todas las instancias de Objeto de Datos que contiene.
Los Objetos de Datos pueden representar un ítem único o una colección. Para indicar que es una colección, el Objeto de Datos tiene un Marcador de tres líneas verticales ("☰"), que se coloca en su parte inferior central.
Las Referencias a Objetos de Datos son una forma de reutilizar Objetos de Datos en un mismo diagrama. Cada referencia puede indicar un estado del mismo Objeto de Datos en diferentes estapas del Proceso. La descripción del contenido se coloca en el Objeto de Datos, y el estado en la Referencia al Objeto de Datos. El nombre de esta última se construye concatenando el nombre del Objeto de Datos y el estado: <Nombre de objeto de datos> [ <estado> ].
Además, se pueden usar varias Referencias a un Objeto de Datos para simplificar las conexiones en un diagrama.
Alternativamente, los Objetos de Datos se pueden asociar directamente a un Flujo de Secuencia (Figuras 10.67 y 10.68). Esta es una simplificación visual, pues sigue habiendo dos Asociaciones de Datos, una que va de la Actividad A hacia el Objeto de Datos, y otra que va de éste hacia la Actividad B.
Temporal
Texto.Texto.
Texto.Texto.
Texto.Texto.
Texto.Texto.
Especificación BPMN
dataOutputAssociations, dataOutputs, outputSet. The Data Associations of the catch Event. The dataOutputAssociation of a catch Event is used to assign data from the Event to a data element that is in the scope of the Event. For a catch Multiple Event, multiple Data Associations might be REQUIRED, depending on the individual triggers of the Event.
The primary construct for modeling data within the Process flow is the DataObject element. A DataObject has a well-defined lifecycle, with resulting access constraints.
The Data Object class is an item-aware element. Data Object elements MUST be contained within Process or SubProcess elements. Data Object elements are visually displayed on a Process diagram.
Visual representations of Data Objects- Data Object can appear multiple times in a Process diagram. Each of these appearances references the same Data Object instance. Multiple occurrences of a Data Object in a diagram are allowed to simplify diagram connections.
Data Object References are a way to reuse Data Objects in the same diagram. They can specify different states of the same Data Object at different points in a Process. Data Object Reference cannot specify item definitions, and Data Objects cannot specify states. The names of Data Object References are derived by concatenating the name of the referenced Data Data Object the state of the Data Object Reference in square brackets as follows: <Data Object Name> [ <Data Object Reference State> ].
States.
Data Object elements can optionally reference a DataState element, which is the state of the data contained in the Data Object (see an example of DataStates used for Data Objects in Figure 7.8). The definition of these states, e.g., possible values and any specific semantic are out of scope of this International Standard. Therefore, BPMN adopters can use the State element and the BPMN extensibility capabilities to define their states.
Attribute isCollection. Defines if the Data Object represents a collection of elements. It is needed when no itemDefinition is referenced. If an itemDefinition is referenced, then this attribute MUST have the same value as the isCollection attribute of the referenced itemDefinition. The default value for this attribute is false. A DataObject element that references an ItemDefinition marked as collection has to be visualized differently, compared to single instance data structures.
Lifecycle and Accessibility
The lifecycle of a Data Object is tied to the lifecycle of its parent Process or Sub-Process. When a Process or Sub-Process is instantiated, all Data Objects contained within it are also instantiated. When a Process or Sub-Process instance is disposed, all Data Object instances contained within it are also disposed. At this point the data within these instances are no longer available.
The accessibility of a Data Object is driven by its lifecycle. The data within a Data Object can only be accessed when there is guaranteed to be a live Data Object instance present. As a result, a Data Object can only be accessed by its immediate parent (Process or Sub-Process), or by its sibling Flow Elements and their children, including Data Object References referencing the Data Object.
Draw a diagram containing the example show in page 206.
Data Objects associated with a Sequence Flow
Alternatively, Data Objects MAY be directly associated with a Sequence Flow connector (see Figure 10.68) to represent the same input/output relationships. This is a visual short cut that normalizes two Data Associations (e.g., as seen in Figure 10.67): one from an item-aware element (e.g., an Activity) contained by the source of the Sequence Flow, connecting to the Data Object; and the other from the Data Object connecting to a item-aware element contained by the target of the Sequence Flow.