e-satisfaction

The #1 Humanized Marketing Platform

Comparison Criteria

Follow

Introduction

We use comparison criteria in multiple places in e-satisfaction configuration, usually in conditions like Pipelines, Jumps, Monitors etc.

Comparison Criteria

Each condition usually has a type, the entity to compare, the criteria and the value to compare against. Here is a full list of all the criteria that se support:

Criteria Description
Equal Equal to given value
Not Equal Not equal to the given value
Empty

When the value is empty.

It also works if the user does not provide at all.

Not Empty Value is not empty. Anything will work.
Greater than Greater than the given value.
Greater than or Equal Greater or equal with the given value.
Less than Less than the given value.
Less than or Equal Less or equal with the given value.
Contains

Contain completely the given value, in the start, middle or end.

Regular Expression

Advanced regular expression to match more detailed patterns than the ones supported.

Not Contains

Not Contains comparison criteria works best with open-text questions. When selecting "Not Contains", leave the value empty as it is not needed. The comparison cannot detect a word or an expression, that's why we suggest to leave it blank.

Contains

Contains works only with detecting if the text contains the given value in full. For example, if you write down "books, pens", the logic will search in the text for the string as is "books, pens".

Will match:

This shop is perfect for buying books, pens and other stuff for your office.

Will NOT match:

This shop offers books in an excellent price. On the other hand, pens are very expensive.

In order to detect both works "books" and "pens", you should use "Regular Expression".

Regular Expression

You can select regular expression for more advanced conditions. This is extremely helpful with open-text questions as well, as you can detect expressions or words that are part of the text.

To continue with the previous example with "books" and "pens", in order for a text to contain those values you should add as value the following (do not forget to add / at the beginning and at the end of the expression):

/(books|pens)/

And it will detect the following:

This shop offers books in an excellent price. On the other hand, pens are very expensive.

Was this article helpful?
0 out of 0 found this helpful

Have more questions? Submit a request