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 Emakin BPM uses data model connections in the forms.

Create Data Model

We will compose four form part 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.

1.Part:

...

Owner 

We will create first part in data model. First part will have two element, identity and department.

  • Click "Add New Elements" button, elements design window will open.
  • Select the standart types below the target schema.Choose the type below type title.Select the type of container.
  • Enter "Owner" name in to name field.
  • Choose the "No, use only one element" below "Is list Item?" title.
  • Click the done button, "Done" button is found in the bottom-hand side of the window. Edit button, details button and add new element button will appear under the "Owner" element.
     

...

  1. 1 Identity
  • Click "Details" button, add new elements button will appear below the details button.
  • Click  * Click "Add New Elements" button , elements design window will open.
  • Select the standart types below the target schema. Look at ->namespaces title.
  • Choose the type below type title.
  • Select the type of identity.
  • Enter below the owner title, select the type of string and enter "Identity" name in to name field.
    Choose the  "No, use only one element" below "Is list Item?" title.

    Click the done button, "Done" button is found in the bottom-hand side of the window. Edit button, details button and add new element button will appear under the "ıdentity" element.

     1. 2 Department
  • Click  * Click "Add New Elements" button , on the same line identity element.
  • Select the standart types below the target schema.
  • Choose the type below type title.
  • Select below the owner title,  select the type of string.Enter  and enter "Department" name in to name to name field.Choose the "No, use only one element" below "Is list Item?" title.Click the done button,  "Done" button is found in the bottom-hand side of the window.  Edit button and add new element button will appear under the "Department" element.

2.Part: Form Information

...

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

  • Click "Add New Elements" button under the owner title, elements design window will open.
  • Select the standart types below the target schema.
  • Choose the type below type title.
  • Select the type of container.
  • Enter "FormInformation" name in to name field.
    Choose the "Yes, use multiple copies" below  "Is list Item?" title.Click the done button, "Done" button is found in the bottom-hand side of the window. Edit button, details button and add new element button will appear under the "FormInformation" element.

Create Elements of Form Information Section:

     2.1 Date Element

  • Click "Details" button, add new elements button will appear below the details button.
  •  * Click "Add New Elements" button, elements design window will open.
  • Select the standart types below the target schema.
  • Choose the type below type title.
  • Select  button below the form in formation title, select the type of date.Enter  and enter "Date" name in to name field.
  • Choose the "No, use only one element" below "Is list Item?" title.
  • Click the done button, "Done" button is found in the bottom-hand side of the window. Edit button and add new element button will appear under the "Date" element.


3.Part: Expense List Section

Click 

3.Part: Expense List 

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

  • Click "Add New Elements" button under the form information title, elements design window will open.
  • Select the standart types below the target schema.
  • Choose the type below type title.
  • Select the type of container.
  • Enter type of container.
  • Enter "ExpenseList" name in to name field.
  • Choose the "Yes, use multiple copies" below "Is list Item?" title.
  • Click the done button, "Done" button is found in the bottom-hand side of the window. Edit button, details button and add new element button will appear under the "ExpenseList" element.

Create Elements of Expense List Section:

     3.1 Expense Section

  • Click "Details" button, add new elements button will appear below the details button.

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

    Click the done button,  "Done" button is found in the bottom-hand side of the window. Edit button, details button and add new element button will appear under the "Expense" element.

    3.1.1 Reason Element

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

    Choose the "No, use only one element" below  "Is list Item?" title.
  • Click the done button, "Done" button is found in the bottom-hand side of the window. Edit button and add new element button will appear under the "Reason" element.

   3.1.2 Expense Group Element

  • Click  * Click "Add New Elements" button, under the reason element.
  • Select the standart types below the target schema.
  • Choose the type below type title.
  • Select the type of container.
  • Enter  button below the reason title, select the type of container and enter "ExpenseGroup" name in to name to name field.
  • Choose the "No, use only one element" below "Is list Item?" title.
  • Click the done button, "Done" button is found in the bottom-hand side of the window. Edit button, details button and add new element button will appear under the "ExpenseGroup" element.
  • Click "Details" button, add new elements button will appear below the details button.
  •          * Click "Add New Elements" button, elements design window will open.
  • Choose the type below type title.
  • Select  button below the expense group title, select the type of string .Enterand enter "Name" name in to name field.
  • Choose the "No, use only one element" below "Is list Item?" title.
  • Click the done button, "Done" button is found in the bottom-hand side of the window. Edit button and add new element button will appear under the "Name" element.
  •          * Click "Add New Elements" button, elements design window will open.
  • Choose the type below type title.
  • Select the type of number.

  • Choose the "No, use only one element" below "Is list Item?" title.

  • Enter "Id" name  button below the name title, select the type of number and enter "Id" name in to name field.
    Click the done button,
      "Done" button is found in the bottom-hand side of the window. Edit button and add new element button will appear under the "Id" element.

  

     3.1.3 Cross Rate Element

  • Select the standart types below the target schema.
  • Choose the type below type title.
  • Select the type of number.
  • Enter 
    •  * Click "Add New Elements"
     button below the receipt information element, elements design window will open.
    •  button below the expense group title, select the type of number and enter "CrossRate" name in
    to name field.
  • Choose the "No, use only one element" below "Is list Item?" title.
  • Click the done button, "Done" button is found in the bottom-hand side of the window. Edit button and add new element button will appear under the  "CrossRate" element.

        3.1.4 Converted Amount Element 
  • Click "Add New Elements" button, elements design window will open.
  • Select the standart types below the target schema.
  • Choose the type below type title.
  • Select the type of number.
  • Enter " ConvertedAmount" name in to name field.
  • Choose the "No, use only one element" below "Is list Item?" title.
  • Click the done button, "Done" button is found in the bottom-hand side of the window. Edit button and add new element button will appear under the "ConvertedAmount" element.

      3.1.5 Date Element
  • Click "Add New Elements" button, elements design window will open.
  • Select the standart types below the target schema.
  • Choose the type below type title.
  • Select the type of date.
  • Enter "Date" name in to name field.
  • Choose the "No, use only one element" below "Is list Item?" title.
  • Click the done button, "Done" button is found in the bottom-hand side of the window. Edit button and add new element button will appear under the " Dateelement.

    3.1.6 Amount Element
    • Click "Add New Elements" button, elements design window will open.
    • Select the standart types below the target schema.
    • Choose the type below type title.
    • Select the type of number.
    • Enter "Amount" name in to name field.
    • Choose the "No, use only one element" below "Is list Item?" title.
    • Click the done button, "Done" button is found in the bottom-hand side of the window. Edit button and add new element button will appear under the " Amountelement.

    3.1.7 Unit Element

    • Click "Add New Elements" button, elements design window will open.
    • Select the standart types below the target schema.
    • Choose the type below type title.
    • Select the type of container.
    • Enter "Unit" name in to name field.
    • Choose the "No, use only one element" below "Is list Item?" title.
    • Click the done button, "Done" button is found in the bottom-hand side of the window. Edit button, details button and add new element button will appear under the "Unit" element.
    • Click "Details" button, add new elements button will appear below the details button.
    • Click "Add New Elements" button, elements design window will open.
    • Choose the type below type title.
    • Select the type of string.
    • Enterto name field.
         * Click "Add New Elements" button below the cross rate  title, select the type of number and enter "ConvertedAmount" name in to name field.
         * Click "Add New Elements" button below the converted amount title, select the type of date and enter "Date" name in to name field.
         * Click "Add New Elements" button below the date title, select the type of number and enter "Amount" name in to name field.

         * Click "Add New Elements" button below the amount title, select the type of container and enter "Unit" name in to name field.
              * Click "Add New Elements" button below the unit title, select the type of string and enter "Name" name in to name field.
    • Choose the "No, use only one element" below "Is list Item?" title.
    • Click the done button, "Done" button is found in the bottom-hand side of the window. Edit button and add new element button will appear under the "Name" element.
    •         
              * Click "Add New Elements" button, elements design window will open.
    • Choose the type below type title.
    • Select  button below the name title, select the type of number.Enter  and enter "Id" name in to to name field.
    • Choose the "No, use only one element" below "Is list Item?" title.
    • Click the done button, "Done" button is found in the bottom-hand side of the window. Edit button and add new element button will appear under the "Id" element.

    3.1.8 VAT Element


    •    * Click "Add New Elements" button, elements design window will open.
    • Select the standart types below the target schema.
    • Choose the type below type title.
    • Select the type of container.
    • Enter  button below the unit title, select the type of container and enter "VAT" name in to to name field.
    • Choose the "No, use only one element" below "Is list Item?" title.
    • Click the done button, "Done" button is found in the bottom-hand side of the window. Edit button, details button and add new element button will appear under the "VAT" element.
    • Click "Details" button, add new elements button will appear below the details button.
    •         * Click "Add New Elements" button, elements design window will open.
    • Choose the type below type title.
    • Select the type of string.
    • Enter button below the VAT title, select the type of string and enter "Name" name  name in to name field.
    • Choose the "No, use only one element" below "Is list Item?" title.
    • Click the done button, "Done" button is found in the bottom-hand side of the window. Edit button and add new element button will appear under the "Name" element.
    • Click "Add New Elements" button, elements design window will open.
    • Choose the type below type title.
    • Select the type of number.

    • Enter "Id" name in to name field.

    • Choose the "No, use only one element" below "Is list Item?" title.
    • Click the done button, "Done" button is found in the bottom-hand side of the window. Edit button and add new element button will appear under the "Id" element.

    Image Removed

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

    Image Added