Hi @lucystevens
It seems you are comparing string with integer type in If condition. To make both side operand compatible, pls type cast or convert integer column to string using an expression. In expression, we will use string() function to convert the value. All expression needs to be entered in the expression box as highlighted in the screenshot:

Expression used here:
string(2)
If you still face the same issue, then pls share the screenshot of the condition in edit mode.
If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.
Thanks