Top
Using AND and OR inside the widget segments
  • 1 minute to read
  • Print
  • Dark
    Light

Using AND and OR inside the widget segments

  • Print
  • Dark
    Light

While setting up segments for your widgets, you can use the AND/OR settings for conditions. You can use these conditions as a combination as well.

Here, the AND acts as a delimiter and all the conditions between two ANDs gets evaluated.

  • Visibility rule conditions support both AND and OR operations.

    and_or_condition.png

    For example: If you have multiple hostnames and you would like to set one common segment, set the visibility rules with an OR condition.

  • Segment content by Tags also supports the AND/OR operations.

    image2018-3-15_16-22-43.png

  • Search Scope by Tags also supports the AND/OR operations.

    image2018-3-15_19-13-58.png

  • To use this setup, 
    1. Navigate to the Whatfix Dashboard. 
      gotoDashboard%20%282%29.png

    2. Click the Widgets tab.
      widgets_tab.png

    3. Select the widget you want to create.

    4. Click New Segment
      new_segment.png

    5. You can now configure your segmentation and use the conditions for visibility rules and for selecting tags.
    Note
    • AND acts as a delimiter
    • The parentheses between these conditions would be denoted by the light grey background
Was this article helpful?