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 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 will  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 Added

Owner

...

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

  • 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 "DesectionmentDepartment" name in to name field.    

Form Information

...

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

  • Click "Add New Element" button under the owner title, elements design window will open.
  • Select the type of container.
  • Enter "FormInformation" name in to name field.
       * Click "Add New Element" button below the form in formation title, select the type of date and enter "Date" name in to name field.

Expense List

Section

We will create third expense list section in data model. Third 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.

  • Click "Add New Element" button under the expense list title, elements design window will open.
  • Select the type of container.
  • Enter "Expense" name in to name field.
  • Choose the "Yes, use multiple copies"  below "Is list Item?" title.

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


       * Click "Add New Element" button below the reason title, select the type of container and enter "ExpenseGroup" name in to name field.
             * Click "Add New Element" button below the expense group title, select the type of string and enter "Name" name in to name field.         

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

      * Click "Add New Element" button below the form in expense group title, select the type of date and enter "Date" name in to name field.
      * Click "Add New Element" button below the form in date title, select the type of number and enter "Amount" name in to name field.

       * Click "Add New Element" button below the amount title, select the type of container and enter "Unit" name in to name field.

            * Click "Add New Element" button below the unit title, select the type of string and enter "Name" name in to name field.
            * Click "Add New Element" button below the name title, select the type of number and enter "Id" name in to name field.

       *Click "Add New Element" button below the unit title, select the type of container and enter "VAT" name in toname field.

            * Click "Add New Element" button below the VAT title, select the type of string and enter "Name" name in to name field.     
            * Click "Add New Element" button below the name title, select the type of number and enter "Id" name in to name field.
Image Removed
  •