Problem with if node

Hi,
I have this situation:

  • set node
  • http request node
  • if node
    In if node I compare 2 value number:
    the first number is taken from query parameter.
    the second number from input data.
    When the value of query parameter is static value (0), it’s all ok.
    But when the value is a given by expression ({{$json[“next_offset”]}}), if return false when it should come back true.
    next offset is output of set node and its value is 0

What am I doing wrong?

Hey @Mauro_G,

Looks like the value is not a number, do you mind share workflow code to see bigger picture?

Hi @Shirobachi
Ok, I try to share: