|
When updating the self variable, you can only change permissions. The self variable always refers to the current workflow template.
The primaryBusinessObject variable always refers to the associated business object. If no object is associated, the variable is null.
|
Name
|
Provide a name for the variable. If declaring a Java class, the name must be a proper Java variable name.
|
||
Define Display Name
|
Click Define Display Name to provide a user-friendly name. You can provide a single display name in the Default field, or provide additional localized values.
|
||
Type Name
|
The drop-down menu includes several frequently used classes. If the class you want is not listed, you can select one of the following:
• Windchill Classes
The Windchill Classname drop-down menu appears.
• Other Class
Enter a class name. It must be an evolvable or a persistable class.
|
Initialize From
|
Initialize a variable value from a parent template variable when the node starts.
|
||
Copy Into
|
Copy a variable value into a parent template variable when the node completes.
|
int
float
boolean
char
java.lang.String
java.util.Date (The format for java.util.Date is the standard Windchill date format.)
java.net.URL
|
Variable Options
|
Description
|
Visible
|
Controls whether or not the variable is visible to users.
|
Required
|
Controls whether the variable must have a value or whether its value can be null. All required variables must be given a value for the workflow template instance to start or complete.
|
Read Only
|
Controls whether the variable is read-only or whether it can be modified.
Read-only URL variables are displayed as hyperlinks.
|
Resetable
|
Resets the variable to its default value each time the workflow process or node is started. This also applies to a node started because of a workflow process loop.
For example, you might want to leave the Resetable checkbox clear if you define a variable that counts how many times a loop is executed in a workflow process. If you select Resetable, the variable is reset to its default value each time through the loop; if you clear the Resetable checkbox, you can add to the value each time through the loop.
|