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.

We will compose three form section in data model.

  • 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.

Owner Section

We will create first section in data model. First section will have two element, identity and desectionment.

  • Click "Add New Element" button, elements design window will open.
  • Select the type of container.
  • Enter "Owner" name in to name field.
       * 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 "Desectionment" name in to name field.    

Form Information Section

We will create second section in data model. Second section will have one element, date.

...

Expense List Section

We will create third section in data model. Third section will have container element and sub-elements.

...

Image Removed   

...

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