Add an Element to Schema

To add a new element to a schema, do the procedure in this topic.

Data Model Screen



How to Start

  1. Do one of these::
    • In a process, add or change any activity.
    • In the Application Explorer, in the My Applications pane, expand [Application Name] > Processes.
      1. Click your process name.
      2. Do one of these:
        • In the content pane, double-click Schema.
          1. Select Schema.xsd
          2. Click Edit .
        • In the content pane, double-click Process Model.
          1. Double-click your process.
          2. Click Form Data .
          3. On the Data screen, in the Data Source, click Edit .

Procedure

  1. On the Data Model screen, right-click Process Fields.
  2. Complete these fields as necessary:
    Field Name Definition

    Element Type

    Function:
    Specifies the type of the schema element.
    Accepted Values:
    • Element - A basic schema element.
    • SimpleType - A schema element that cannot contain other schema elements.
    • ComplexType - A schema element that contains other schema elements.

    Element Name

    Function:
    Specifies the name of the schema element.
    Accepted Values:
    One line of text that can contain spaces.

    Data Type

    Function:
    Specifies the data type of the schema element.
    Accepted Values:
    • string
    • byte
    • boolean
    • dateTime
    • double
    • decimal
    • float
    • integer
    • long
    • short

    Repeatable

    Function:
    Specifies if the schema element is repeatable.
    Accepted Values:
    • Selected - The schema element is repeatable.
    • Deselected - The schema element is not repeatable.
  3. To make sure the schema element is complete and operates correctly, click Validate Application Schema .
  4. (Optional) To view the XML code made for the schema element, click View Application Schema As XML .
  5. (Optional) To save the data model into an XML file in your local machine, click Export Application Schema As XML
  6. (Optional) To add a data source to your data model, click Add Data Source .
  7. (Optional) To change a data source in your data model, click Edit Data Source .
  8. (Optional) To import the process data variable from your local machine to your data model, click Import Process Variables As XML .
  9. (Optional) To save the process data variable into an XML format in your local machine, click Export Process Variables As XML .