What I’m trying to test is if the length of a list is between two numbers.
What I’ve tried so far:
- {% elif event|lookup:'Item Count' > 1 && < 4 %}
- {% elif event|lookup:'Item Count' > 1 && event|lookup:'Item Count' < 4 %}
I could keep on going like this, just randomly trying anything I can think of, but thought I’d come ask the experts.
Is what I’m trying to do possible?
(NOTE: I have a properly formatted ‘if’ condition, opened and closed correctly, etc. It worked fine until I tried to do the ‘greater than this but less than this’ bit.)