Creating Structured Data Types
We need to create structured data types for the data definition of Product and Customer.
Once the data type is defined, you can create a structured data of the same type.
Creating a new Structured Type
To create a new structured type:
- In the My Process Models panel, right-click the Structured Types node and
select the Create Data Type option.
Figure: Create Data Type
A new structured type named XSD Data Structure 1 is created and its properties are displayed.
Figure: XSD Data Structure 1
Defining the Structured Data Type named Product
Now the newly created XSD Data Structure 1 structured type is visible
under the Structured Type tree.
- Open the property panel of new structured type
- In the Data Structure Name text box, specify name as Product
- In the Configuration panel, click
the Add
icon to add fields
- In the Name field, type Name
- Similarly, add Synopsis and State fields
- For all the fields, the Type field should be Text and the
Cardinality should be Exactly One
Following screenshot displays the Product structured type.
Figure: Product-Structured Type
Defining the Structured Data Type named Customer
The next step is to create a structured type named Customer.
- Create a new structured type as described in the preceding section
- In the Data Structure Name text box, specify name as Customer
- In the Configuration panel, click
the Add
icon to add fields
- Add the following composite types:
- With the name Id, type Number and cardinality Exactly One
- with the name Name, type Text and cardinality Exactly One
- with the name Email, type Text and cardinality Exactly One
- with the name Product, type Product and cardinality Exactly One
Following screenshot displays the Customer structured type.
Figure: Customer-Structured Type
Now the data type Customer can be used for the data in our Support-Case model.