Versions Compared

Key

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

Data models  define how data is connected to each other. Emakin BPM uses data model connections in the forms.

Firstly we will open a new data model in the process.

  • Click the data model step below the unknown title. Data model design screen will open on the same screen. You will see your application name below the elements title.
  • Click details button below "expense form" title.

Secondly we will create expense form data model.

The following screen shows the expense form data model example. We will compose three form section in data model. To follow the owner, the form information and expense list sections:

Image Removed

Owner

We will create owner section in data model. This section will have two element, identity and department.

  • Click "Add New Element" button, elements design window will open.
  • Select the type of container.
  • Enter "Owner" name in to name field.
       * Click "Details" button near the edit button under the owner title, "Add New Element" button get appear.
       * Click "Add New Element" button below the owner title, select the type of string and enter "Identity" name in to name field.

       * Click "Add New Element" button below the owner title,  select the type of string and enter "Department" name in to name field.    

Form Information

We will create form information section in data model. This section will have one element, date.

...

Expense List

We will create expense list section in data model. This section will have container element and sub-elements.

    • Click "Add New Element" button under the form information title, elements design window will open.
    • Select the type of container.
    • Enter "ExpenseList" name in to name field.

...

The expense submission business process requires a few data elements. In Emakin these are defined by a data model. Although the user has full control of the data model, the Process Designer assists the user by transparently updating the data model whenever changes are made to the form.

The Process Designer automatically creates one default data model, named Data, and that’s good enough for this exercise. We’ve already designed the form, so it's expected the data model to have been updated accordingly. Let’s review the data model and verify that its hierarchical structure is similar to the one depicted below.

Code Block
languagenone
- Data
  - ExpenseReport
    - Origin
      - Employee
      - Department
      - Date
    - Details
      - Expenses
        - Expense
          - Description
          - Amount
          - Currency
  1. Click the Expense Management folder entry on Emakin’s sidebar and the folder is displayed;

  2. Click the rightmost Menu button on Emakin’s top bar to open the business processes sidebar;

  3. Click the Expense Submission process entry in the processes sidebar and the process is displayed;

  4. Click the Edit button on the Expense Submission process to open the Process Designer;

  5. Click the Data Model in the Other section and the data model is displayed in the Process Designer;

  6. Explore the data model and confirm that it has exactly the expected hierarchical structure.

...

Previous: Create the form