Forum Discussion
Mez
13 hours agoQrew Assistant Captain
Interesting. Can you share a screenshot?
And, I just thought of this... you could actually just perform subtraction directly against the datetime field from time.now. With this, if you extract the seconds from the datetime object from subtracting the two values and it's less than 30, true is used, otherwise, you can print the seconds property from the subtraction; which most likely will still result in true unless the pipeline triggers and the subtraction results in zero.
{% if (time.now - a.start_date_time).seconds <= 30 %}
true
{% else %}
{{ (time.now - a.start_date_time).seconds }}
{% endif %}