What to check for when a parameter doesn't have a value, Is Empty doesn't seem to do it

I have an IF node checking if a parameter from previous node has a value. If the parameter doesn’t come as input in the previous node (Webhook), I guess it is showing as undefined. What should I be checking for in the IF node?
The options given in the IF node operations don’t have anything for undefined.
Screenshot 2021-06-22 at 7.16.18 PM
Screenshot 2021-06-22 at 7.16.11 PM
Any suggestions?
I have set the IF node to Always Output data

Ruchika

Hey Ruchika,

I tested this with a Webhook node and IF node. I am using the Is Empty operation in the IF node. If the value that I am looking for is not present, the node returns true (the Is Empty condition is true). But if there are is some value, the node returns false. Can you confirm that you don’t have any extra spaces in your expression? That might be the reason that your condition fails.

So it works in my tests… but I have a execution error. When I retry it, it doesn’t work. I’m retrying as Currently Saved Workflow.

This is for a test;


This is screenshot for the Retry one