Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Emakin uses XML data standard to used or updated standards to use, update in the process, or internal process data needed to make the process work. This format allows to perform for performing advanced query (XPath or XQuery) methods and create creating multiple and nested data layouts to support all kinds of processes.

Data The 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.Data model consist on

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.


The data model consists of two types of an object:

Elements

Defines a data element.

For a element you You can configure the following properties :Name
Name of elementfor an element:

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.

Use
Select how an element is used as a type or an element reference. This field is only valid when using external data types.

Type
Type of an element. Selected as a choice of container, string, number, date time, date, time, check, check or custom-defined type.

Reference
Reference elements will appear. It lists other elements grouped.

Name
Name of an element.

Is List Item
Check this field to allow multiple instances of this element.

Minimum Occurs
Defines the 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 element reference. This field only valid when using external data types.

Target Schema
Select containing external schema to use as type or reference. This field is only valid when using external data types.

If type of field selected as container you can create child elements if needed.

 

Image Removed


Image Added

Types

Defines a custom data type to use as an element later. Many processes uses use the same data type on in different places, like the "Person" element with "Name" and "Surname" child.

For a type you You can configure the following for a type:

Name
Name of type to identity.

 Image Added

Image Removed

 

Technical Details

Data The data model is actually a an XML schema designer designed for easy composing. You can use provided data model designer or use any xml XML schema editor to build your model.

What is XML schema?

XML schema is the 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 Emakin, XML schema is used to generate and check the process data model. You can define your schema or import any number of other schema with schemas by importing as a namespace.

Importing External Data Types

If you have an external system and need to use it's 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 XML Schemas".

You can learn how to define data models by watching this video 
 :

Widget Connector
width400
urlhttps://www.youtube.com/watch?v=xqyJzQwTNMI&list=PLA2eeQWw7vVzhhx61zY7mZ_XihcK2iz-6&index=3
height400