Emakin uses XML data standard to used, updated in the process, or internal process data needed to make the process work. This format allows performing advanced query (XPath or XQuery) methods and creating multiple and nested data layouts to support all kinds of processes.
Data model defines the model of XML data. You can define your own model or import existing models from external systems to use when needed.
The data model is created automatically while the form is being designed.
When the control is deleted from the form, the data is not deleted from the model, if you want, you can delete the data records from the data model section.
Data model consists of the two types of an object:
Elements
Define a data element.
For an element you can configure the following properties:
Name
Name of an element.
Type
Type of an element. Selected as choice of container, string, number, date time, date, time, check, check or custom defined type.
Is List Item
Check this field to allow multiple instances of this element.
Minimum Occurs
Defines at least how many elements should be created. Visible only when "Yes, use multiple copies" under "Is List Item" is checked.
Use
Select how element is used as a type or an element reference. This field is only valid when using external data types.
Target Schema
Select containing external schema to use as a type or a reference. This field is only valid when using external data types.
If the type of field is selected as a container, you can create child elements if it is needed.
Types
Defines a custom data type to use as an element later. Many processes use the same data type on different places like "Person" element with "Name" and "Surname" child.
For a type you can configure the following:
Name
Name of type to identity.
Technical Details
Data model is actually an XML schema designed for easy composing. You can use provided data model designer or use any xml schema editor to build your model.
What is XML schema ?
XML schema is description of a type of XML document, typically expressed in terms of constraints on the structure and content of documents of that type. Please see http://en.wikipedia.org/wiki/XML_schema for more information.
In emakin XML schema is used to generate and check process data model. You can define your schema or import any number of other schema with importing as a namespace.
Importing External Data Types
If you have an external system and need to use its data types in your model; you can add it as a new namespace and provide XML Schema Location to load. Loaded schema sets are stored in "External Xml Schemas".