Hi,
In the portal I get some data in liquid with fetchxml.
Depending on the state of the record (active/inactive), I need to display different information.
I'm bale to get the state information by using {{item.statecode.value }} which returns 0 for an active record.
However I'm not able to use it in a condition: {% if item.statecode.value==0 %}code{% endif %}.
The code does not get executed.
What would be the right syntax to be able to differntiate between active and inactive records?
*This post is locked for comments