I am trying to filter a data extension to only return certain rows via an SSJS automation.
It works fine if I set the SimpleOperator to "equals" and the Value to a static value.
What I really want to be able to do is filter rows with NULL in a particular field. I tried "notEquals" but it doesn't seem to work. e.g.
// FILTER ROWS THAT DON'T HAVE A STATUS OF PROCESSED
var TARGET_DE = DataExtension.Init("7AAB4709-88A6-4C4E-B153-901351D820A1");
var Filter = {Property:"Status",SimpleOperator:"notEquals",Value:"processed"};
var Data = TARGET_DE.Rows.Retrieve(Filter);
(Note: If the value isn't processed it is NULL)
I suspect I'm not able to use the SimpleOperator filter for NULL values.