Add an Element to Schema

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

Figure: Data Model screen

Data Model screen

Video: Configuring Process Data

Examples

How to Start

  1. Do one of these::
    • In a process, add or change any activity.
    • On the Application Explorer screen, expand [App Name] > Processes.

      Application Explorer screen
      1. Click your process name.

        Application Explorer screen
      2. Do one of these:
        • Click Schema.

          Application Explorer screen
          1. Select Schema.xsd

            Application Explorer screen
          2. Click Edit.

            Application Explorer screen
        • In the content pane, double-click Process Model.
          1. Double-click your process.
          2. Click Form Data Form Data icon.
          3. On the Data screen, in the Data Source, click Edit Edit icon.

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 have spaces.
    Example:
    Refer to:

    Data Type

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

    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 App Schema Validate Application Schema icon.
  4. (Optional) To view the XML code made for the schema element, click View App Schema As XML View Application Schema As XML icon.
  5. (Optional) To save the data model into an XML file in your local machine, click Export App Schema As XML Export Application Schema As XML icon
  6. (Optional) To add a data source to your data model, click Add Data Source Add Data Source icon.
  7. (Optional) To change a data source in your data model, click Edit Data Source Edit Data Source icon.
  8. (Optional) To import the process data variable from your local machine to your data model, click Import Process Variables From XML Import Process Variables As XML icon.
  9. (Optional) To save the process data variable into an XML format in your local machine, click Export Process Variables As XML Export Process Variables As XML icon.