WfMC assumes a number of standard data types (string, reference, integer, float, date/time, etc.); such data types are relevant to workflow relevant data, system or environmental data or participant data. Expressions may be formed using such data types to support conditional evaluations.
Sometimes set of data types that XPDL provides won't be enough, or you want to represent some data type with a special name to easily use it when defining Formal/Actual parameters. This XPDL feature allows you to declare new data type.
Attributes for TypeDeclaration are:
Table 6.9. Type Declaration
Name | M/O | Description |
---|---|---|
Id | M | Used to identify the declared data type. |
Name | O | Text used to identify the Declared Data Type. |
Description | O | Short textual description of the Declared Data Type. |
Data Types | O | Standard data types. |
![]() | This property panel shows an example of a type declaration. This panel
can be get e.g. by selecting an existing TypeDeclaration in a
Package tree, and asking for its properties. To create a new
TypeDeclaration, you can press button TWE maintains all of WfMC data types that are provided: BasicType, DeclaredType, ShemaType, ExternalReference, RecordType, UnionType, EnumerationType and ArrayType. |
The following table describes the basic data type:
Table 6.10. Basic Data Type
Name | M/O | Description | |||||||
---|---|---|---|---|---|---|---|---|---|
Type | M |
|
External Reference data type has the following attributes:
Table 6.11. External Reference
Name | M/O | Description |
---|---|---|
Xref | O | It specifies the identity of the entity within the external document. |
Location | M | It specifies the URI of the document that defines the type. |
Namespace | O | It allows specification of the scope in which the entity is defined. |
Using External Reference data type you
may define e.g. some Java class as a new data type (for e.g.
location = "com.abc.purchases.PO"
).