A.2. Schema Definition for Process Templates

Engineering Knowledge Manager

User's Guide | Appendix A. Defining a Process Template Using XML |

A.1. Translating a Conceptual Process to an EKM Process |  | A.3. Defining an EKM Process Template XML File
Prev |  | Next

## A.2. Schema Definition for Process Templates

EKM provides schema files for all files that you define using XML. These XML Schema Definition (XSD) files describe the structure or "grammar" that an XML document must adhere to. Schema definitions provide the building blocks that enable you to write valid XML configuration files for use in EKM. For more information on how to read schema files, refer to: www.w3.org/TR/xmlschema-0.

XSD files are contained in the `EKM_HOME/schema` folder and are identified by the .xsd extension.

Important: `EKM_HOME` is the directory where the EKM server application is installed. This is typically `EKM_BASE/ekm-server`, where `EKM_BASE` is the EKM base directory.

Figure 4: Partial Listing of workflow.xsd Schema Definition shows the partial listing for workflow.xsd, the XML schema definition (XSD) used for defining process templates in EKM. The complete listing is provided in the `EKM_HOME/schema` folder.

The listing shows that a process template consists of a `root` element named `workflow`. The `workflow` element must contain the following elements:

- an optional `script` element

- 0 or more `variable` elements

- an optional `blocks` element that contains 0 or more `block` elements

- a `nodes` element that contains one or more `node`, `auto-node`, `iteration-node`, `batch-node`, or `monitor-node` elements

- a `transitions` element that contains 0 or more `transition` elements

- 0 or more `requiredVar` elements

- 0 or more `validation` elements

Figure 4: Partial Listing of workflow.xsd Schema Definition

Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

Prev | Up / Contents | Next

Release 18.2 - © ANSYS, Inc. All rights reserved.