-
Open a simulation process.
-
Select the activity that will contain the new parameter.
-
From the Data section of the action bar, click Parameters
.
The Parameters panel appears.
- Click .
The Create New Parameter dialog box appears. -
In the Name field, enter the name of the
parameter.
- In the Structure list, select whether the parameter is a Scalar or Array.
-
Select the Mode: Input,
Output, In/Out, or Neutral.
-
Select the Type of parameter: Boolean,
Integer, Real, String, Object, or Timestamp.
- For Scalar parameters, define the initial (default) Value. By default, the value is 0.0.
-
For Array parameters, specify the following in the
Array Dimensions area:
-
Select the number of Dimensions (1, 2, 3, or
4).
-
Enter the Size of the dimensions.
-
Click Edit values to edit the values of the
array using the Edit Array Parameter Value
table.
-
Click Dimensions are resizable to resize the
array during execution.
- Optional: Expand the Advanced area, and enter the description and expression.
- If you expanded the Advanced area, you can click ... to define an expression using parameters, key words, or environment variables:
- To filter the selections, click Parameter, Key Word, or Environment Variable.
- Select the value, and click .
Note:
Optimization
Process Composer does not display the list of attributes that can be used in an expression for an activity. However, you can enter the attributes directly in the expression.
- Click to evaluate the expression.
- Click Ok to save your changes and to close the Parameter Expression dialog box.
- To add a choice of values, click Advanced, and do the following:
- Click .
- Enter the value.
- Repeat steps a and b to enter additional values. Click to remove a value.
The values are available from the Parameters panel.
-
Click Ok to save your changes and to close the Create New Parameter dialog box.
|