Parameters and Expressions

You can set the value of a parameter equal to an expression. Process Composer evaluates the expression before it displays the value of the parameter or exports the parameter file to the working directory.

Expressions are case insensitive; for example, ${Type} is the same as ${TYPE}. However, the title of a parameter is case sensitive; for example, ${Material density} is unlike ${Material Density}.

Parameter expression Value
${USER}
Current ENOVIA session user
${OWNER}	
Object owner
${TYPE}
Object type
${NAME}
Object name
${REVISION}	
Object revision
${TITLE}	
Object title (or the name of the object if no title is defined)
${STATE}	
Current object state
${MODIFIED}	
Date/Time object was last modified
${ORIGINATED}	
Date/Time object was created
${DESCRIPTION}	
Object description
${ATTRIBUTE[name]}	
Value of attribute with the specified name
${PARAMETER[name]}	
Value of parameter with the specified name

The ${ATTRIBUTE[name]} and ${PARAMETER[name]} expressions refer to a named attribute or parameter. However, you do not need to include the ATTRIBUTE or PARAMETER text if the name of the attribute or parameter is unique. For example, ${Initial Load} is equivalent to ${PARAMETER[Initial Load]} if there in no attribute named Initial Load.

When you are entering values in a page, you can enter an expression that refers to a scalar parameter, and Process Composer validates the syntax of the expression. However, Process Composer does not evaluate input parameters defined with an expression and, therefore, does not display the current value in the page. In contrast, Process Composer evaluates output and input/output parameters defined with an expression after execution and displays the evaluated value in the page.

Process Composer evaluates an expression relative to the current simulation process or simulation activity. For example, if you define a parameter in a simulation activity, the expression ${NAME} refers to the name of the simulation activity. The expression ${../NAME} refers to the name of the parent simulation process.

To include the text representation of an expression when it is evaluated, you must precede the expression with the $ character. For example, if the current user is guest, the expression: The value of $${USER} is ${USER} is evaluated as The value of ${USER} is guest.