Logical expressions with numbers not possible?

Hello,

I want to create an expression that checks if a number is in between two range of numbers (e.g. is the cost of the time in between 50,000 and 100,000).

However, it seems like Triggre doesn’t allow the use of logical expressions if I am using an integer field ?

Any ideas?

Hi @stanley.dikeocha,

You can use several ways to achieve this:

  1. Using a decision. If you make a decision and in the rule of the decision place the number you want (e.g. Cost), you can specify ranges as outgoing paths.

  2. Using a calculation. You should use the following structure:

Cost >= Minimum AND Cost <= Maximum

This should do the trick. It doesn’t matter whether you have a number with or without decimals.