Create a long/short/byte variable

  1. Open the process map in which to create the variable.
  2. On the process modeling bar, click Variables and click New.

    The New variable dialog box is displayed.

  3. Enter a unique Name for the variable.
    By default, the name of the variable becomes the ID of the variable; however, you can change the ID if needed.
  4. On the Type list, select Byte, Long orShort. (Default: String)
  5. Optional. To use the variable for process initialization, select Initialization.
  6. To enter a Value, do either of the following:
    • Static: Provide a static value.

    • Expression: Right-click in the rule editor box and enter an expression using process or server variables or functions. Click Validate to validate the expression.

  7. For Variable display properties, enter the acceptable range of values for minimum and maximum values.

    The default values are:

    • Byte: (Minimum: 0); (Maximum: 255)

    • Long: (Minimum: -2147483648); (Maximum: 2147483647)

    • Short: (Minimum: -32768); (Maximum: 32767)

  8. Click Add.

    On generating a Create new job or activity forms for a process that has an initialization variable set with display properties, the configured properties are reflected in the corresponding controls added to the form.

    Note This applies to capture and non-MFP forms only.