Versions Compared

Key

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

...

For every domain hosted on Emakin, a separate XML database is created. This database is reserved only for special cases, and Emakin does not store any data by default. You can save data into your domain database by using XmlNode.Save and $XmlRepository.Save methods.

...

In this example, settings for the Leave Request process gets get stored in domain database and its their data is enclosed between <LRDictionary> tags as an arbitrary choice. It includes HR authorities' information, leave type definitions and their localization data, and a list of people for some exceptions depending on the design of this process. A settings screen designed in this process loads this XML data and lets users to modify it depending on their needs, which makes this process quite flexible.

Process Database

Every time a process is created in Emakin, a separate XML database is allocated for that process automatically. All the workflows running on Emakin keep their data as XML forms and whenever a workflow gets triggered from a process, its form content and an XML metadata of this workflow gets stored into the corresponding process database alongside under the root node. Any changes made on the flow automatically updates this data, for example taking an action on a task or completing a flow.

The data stored here is almost identical to the data stored in the relational database except for being in XML form. The key difference here is that XML data of a workflow is more compact and easier to obtain and organize to create desired reports with it. Besides retrieving these data from SQL data tables is managed by Emakin's built-in functions in a resctricted restricted aspect. For this reason, using the process data stored in XML databases is more practical when generating report views depending on process data.

...

Just as a work item is completed, a unique backgroud background job called "Instance Xml Database Replication" gets created for its instance and executed to write its metadata into the database. You can use Background Jobs Manager to monitor the status of these jobs.

...

Just as a work item is completed, a unique backgroud background job called "Form Data Xml Database Replication" gets created for its form and executed to write the content into the database. You can use Background Jobs Manager to monitor the status of these jobs.

...