Description

Checks if the expression to be evaluated is False.



Attributes

Common

  • ContinueOnError - The Boolean value to specify whether to continue executing the next activities even if there is an error thrown on this activity.

Misc

  • DisplayName - Renames the activity.

  • ErrorMessage - The error message to be shown if the expression is True.

  • Expression - The expression to be evaluated.


Example

  1. Create a String variable called input.
  2. Add an InputDialog activity inside the initial Sequence. 
  3. In the InputDialog Result field under Attributes, add the input variable.
  4. In the InputDialog Title field, write "Gender".
  5. In the InputDialog Label field, write "Enter your gender:".
  6. After the InputDialog activity, add a Check False activity.
  7. In the Check False Expression field, write input.Equals("M").
  8. In the Check False Error Message field, write "This survey is intended for females only"

    The use case should look as the following screenshot:



This is an example of a use case that would only let females proceed. If the user's input is equals to M, this error message should be displayed: