A.10. Defining Process Attributes

Engineering Knowledge Manager

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

A.9. Defining Macros |  | A.11. Example of a Process Template XML Definition
Prev |  | Next

## A.10. Defining Process Attributes

You can use the `WorkflowDefinition` setting when you want to edit the global parameters of a process template.

`name`

  Identifies the name of the process.

`description`

  Provides a description of the process.

`requiredVar`

  These are the variables that must be specified by a user when a process is created. The user who creates the process will be prompted to add these variables. Here is an example of a required variable named `Project`.

      <requiredVar>Project</requiredVar>

`validation`

  Used to validate the required variables. Similar to a node definition, there may be circumstances when you want the values of required variables to be validated. This can be done using the `validation` element that has two attributes: `expression` and `errorMessage`. The definition of the `validation` element is same as in the node definition. For example, the following listing shows a `validation` element that ensures that `Project` is specified.

      <validation expression='Project != void' errorMessage="Project not specified"/>

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.