Hi @ShivaniR251
I would suggest converting data type of both the operands to be same. The condition will be executed correctly if both operands are compatible. So, convert both operands to integer using an expression as shown below:

Expression needs to be entered in the expression window as highlighted in the above screenshot.
Expression for left side operand:
int(outputs('Compose'))
Expression for right side operand:
int('1')
Similarly, for second clause use expressions to compare:
Expression for left side operand for second clause:
int(outputs('Compose'))
Expression for left side operand for second clause:
int('12')
If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.
Thanks