Create Input Data

Use built-in or custom data types to create input variables for a decision model.

To create an input data variable:

  1. In the decision designer, click Palette Palette icon on the sidebar.
  2. On the Palette panel, select the Input Data element and drag it onto the canvas.
  3. In the Input Properties panel that appears, enter the following information for the input data node.
    Field Description

    Name

    Enter a unique name for the input node.

    Note:

    You can also assign an input data node the same name as a previously-added node. Choose an existing name from the drop-down list Expand icon next to the Name field.

    However, if you add a particular input data type to the canvas and select the name of a different type of input from the drop-down list, the input node's type changes.

    Delete

    Click Delete icon to delete either the input node or both the node and its associated logic. Alternatively, click Options icon on the input node, and select Delete to remove it from the canvas.

    Mode

    Specify the data type for the input node. The default is set to Text. You can select one of the built-in data types or choose a custom data type.

    To identify the data type as a list, select the Make a list check box.

    Note:

    If you select a previously-defined variable in the Name field:

    • The mode and other details are auto-populated.
    • If you change the type in the Mode field, the content of the previous-defined variable is overwritten.

    Allowed Values

    You can optionally define allowed values to restrict the input variable to enumerated values or ranges.

    Type

    If you select Other Type in the Mode field, select a previously-defined custom data type in this field.

    Click Show type definition list to view all custom data types defined in the decision model, or to create a new custom data type. See Define Custom Data Types.

  4. Click Close Close icon, or click Palette icon to return to the Palette panel and add another input node.
    Changes you make within the decision model are automatically saved and validated.