Job Runner

If Comparing Two Values Satisfies Conditions

Summary

Compare any two values.

How to Use

This condition is combined with other “when to execute” conditions.

When comparing the value of a field with other values, you can use “If the field value is a specific value”. When comparing the value of an action with other values, you can use “ If Result of Action is Specified Value”. However, to compare the values calculated by expressions against the field values or the results of actions, these actions cannot be used. By using “If Comparing Two Values Satisfies Conditions,” you can compare any two values, making it possible to compare values using expressions.

“If Comparing Two Values Satisfies Conditions” compares two values as strings or numbers. When comparing field values that take the form of an array, such as Check boxes and User Selection fields, there is a possibility that the behavior of “includes” and “not included” may not work as intended. When comparing these field values, use “ If the field value is a specific value ”.

Parameter

Set the Comparison value (A), Criteria, Comparison value (B), and Numeral Comparison.

Comparison value (A)

Enter the first value to compare (left side).

Unlike the Comparison value (B), whitespace is not removed.

Criteria

Select how to compare the results.

Comparison value (B)

Enter the second value to compare (right side).

If there are spaces on either side of this value, they will be removed.

Numeral Comparison

Select the comparison method when the value “Comparison value (A)” is a value that can be interpreted as a number.

  • In the case of “As Number”:

    • Both Comparison value (A) and Comparison value (B) can be interpreted as numbers ⇒ Compare as numbers
    • Comparison value (A) can be interpreted as a number, but Comparison value (B) cannot be interpreted as a number ⇒ The condition is not met.
    • Comparison value (A) is not interpretable as a numeric value ⇒ Compare as a string regardless of Comparison value (B)
  • In the case of “As String”:

    • Compare Comparison value (A) and Comparison value (B) as strings regardless of whether they are numeric.

Note that “Infinity” and “NaN” are not considered numbers.

Condition Inverter

Clicking the Condition Inverter will change the condition to “If comparing two values does not satisfy conditions.”

“If comparing two values does not satisfy conditions” will execute actions when the condition of the comparison result is **not **met.