Defining Conditions

When you build a condition statement, you set up a comparison between two inputs for the system to evaluate using standard operations. A condition added to a step in a VoiceForm determines whether the VoiceApplication will prompt technicians to perform that step or not.

To define a condition statement, navigate to the Conditions tab on the Create Step or Edit Step page, and select the Create new condition from the dropdown box.

Argument Types and Values

Step ID

Identifier for the step on which this step is dependent. The technician's response to this step is used in the evaluation to determine if the current step will be performed or not.

The drop-down menu lists only the following step types found in the VoiceForm:

  • Multiple List Selection
  • Float Value
  • Value Entry
  • Long Value Entry
  • Fraction
  • Part Number

The step description is displayed for reference only.

Comparison

Logical operation for the arguments of the condition statement.

Available operations:

  • Equals
  • Not equals
  • Greater than
  • Greater than or equal
  • Less than
  • Less than or equal
  • Starts with
  • Ends with
  • Contains (any)
  • Does not contain (any)

When referring to a multiple list selection prompt, use the "Contains" or "Does not contain" operations to set conditions for the results of that step. These two operations evaluate step results for any of the listed values—the condition statement is true even if only one of the values you list are present in the step results.

Value

The argument to be compared with the results from the first referenced step.

Allowable argument types:

  • Step reference: The identifier of a second step.

    The system compares the results of this step to the results of the first step.

  • Constant: A static value compared to the results of the first step.

    One or more list items from a multiple list selection prompt can be entered as a constant.

    Enter as a string, list, integer, or decimal. Quotation marks are not allowed.

  • User token: Metadata imported with the assignment information.

    The user token is called as a variable in the condition statement.

    Enter as {user token}. Quotation marks are not allowed.