A process can be defined as a specific order of events and activities that aim for a certain goal. This data is stored in the process context. These events and activities have strictly defined inputs and outputs and are connected in a process and eventually produce a value. The process context is the sum of all data objects including the roles information.
The process context is represented by a data structure defined in an XSD file. To add the process context and import all the data types that are needed, you import an XSD file. The XSD file defines the data types that you can assign to data objects. The data objects are used to define input and output data, which is mapped to an activity in the process mode. To track the data changes, you must define the input and output mapping. The mapping in the process composer does not support all data types. The XSD file defines the data types assigned to data objects.
Overview of Data Types
Element | Usage |
---|---|
Elements typed as xsd:anySimpleType. | Not supported |
xsd:any | Ignored |
xsd:anyAttribute | Ignored |
xsd:choice | Treated as xsd:sequence. |
xsd:all | Treated as xsd:sequence. |
Occurrence constraints on xsd:choice, xsd:sequence, xsd:all. | Treated as minOccurs=1, maxOccurs=1. |
Occurrence constraints on xsd:element. | Treated as single value for minOccurs <= 1 and maxOccurs = 1, otherwise treated as list with arbitrary number of entries. |
Constraining facets | Behavior undefined, may get enforced/ignored by the underlying (SDO) data representation. |
Mixed content | Treated as complex structure without simple content. |
Default values for elements/attributes | Ignored |
Element substitution groups | Not supported |
Complex structure without contained fields | Not supported |
Each process is provided with a predefined data structure called ProcessInstanceAttributes. It contains the following read-only data objects.
Process Instance Attributes, Data Structure:
ProcessInstanceId that holds the ID of the process instance, which is acquired at runtime automatically.
ProcessInitiator that stores data about the user who started the process.