Creating Parameters

You can create parameters in a simulation process or a simulation activity. You must have read/write access to a simulation process or simulation activity to create, edit, or delete a parameter.

See Also
About Parameters
Exporting Parameters to an XML File
  1. From the search menu in the Top Bar, search for simulation processes or simulation activities.
  2. From the list that appears, select the simulation process or activity that will contain the parameters.
    The selected simulation process or activity appears in the navigation pane and the table page.
  3. From the navigation pane, select Parameters.
    Process Composer displays the Parameters page.
  4. From the Parameters page toolbar, select Create New.
  5. In the Create Parameter page that appears, enter the following:
    • Title: Process Composer uses the title to identify a parameter. The text that you enter is case sensitive and can include spaces. The title must include at least one letter, but it cannot include . or = characters.
    • Valuetype: Select the value type of the parameter. Parameters can be of the following value types:
      Value Type Description
      Scalar A single number or string.
      Array An array of integer, real, string, or Boolean values.
      • Select the array's Dimension (1, 2, 3, or 4).
      • Enter the Size of Array; for example, 2X3X4.
    • Type: Select the type of the parameter. Process Composer prevents you from changing the type of parameter unless you import a new parameter with the same title and overwrite the original. Parameters can be of the following types:
      Type Description
      Integer A whole number. The range of values depends on the local system architecture.
      Real A real number expressed with a decimal point (for example, 5.4321). The range of values depends on the local system architecture. Process Composer supports both 32-bit or 64-bit floating point numbers.
      String One or more characters. The characters can be numbers or letters. Select the string's Subtype:
      • Singleline: The data entry field consists of a single line, and the text scrolls to the left as the user types.
      • Multiline: The values consist of multiple lines of text. The text box is scrollable, and the text wraps to the next line as the user types.
      Boolean TRUE or FALSE.
      Timestamp The date and time in mm/dd/yyyy hh:mm:ss am/pm format; for example, 03/24/2008 10:05:00 pm (or dd/mm/yyyy hh:mm:ss am/pm, depending on locale). You can also enter the date as an integer representing the number of milliseconds since January 1, 1970. (The date format displayed depends on a user setting.)
      Object A reference to an object in the database, such as a part of a document. Click to select the Object.
    • Description: Enter a description that allows any user to determine the purpose of this parameter.
    • Choices: If the parameter is a string, you can define its possible values. Enter each value on a new line.
    • Value: Enter the default value. If the parameter is a string, its default value must be one of the possible values.
    • Mode: Select the mode in which the parameter will be used.
      • Input: Process Composer exports the parameter to the parameter file in the working directory prior to executing the simulation process or activity.
      • Output: After the simulation process or activity has finished executing, Process Composer imports the parameter from the parameter file in the working directory.
      • Input/Output: Process Composer exports the parameter to the working directory prior to executing the simulation process or activity and imports the parameter from the working directory after execution is complete.
        Note: If a parameter has an expression for its value, you can select Output or Input/Output only if the expression refers to an attribute or an object description.
      • None: Process Composer does not export the parameter to the working directory or import the parameter from the working directory.
    • Expression: If desired, enter an expression to define the value. See Parameters and Expressions for more information. If you enter both a value and an expression, Process Composer uses the expression to define the value of the parameter.
  6. Click Done to create the parameter.
    The Parameters page lists the parameters in the simulation process or simulation activity.