Date.parse(vLastPurchaseDate) >= Date.parse(vDisableVendor)
On your Start Node, create 2 variables, both Date variables. Set the first variable to AddDay(today(),-7) and the second variable to today(). Then create your query in your query node that returns the date field you want to compare your variables to. Write the date field from your query to a 3rd date variable in an assign node. Then in your branch use the Date.parse() around your variables to write your compare statement. Date.parse(variable1) >= Date.parse(variable3) && Date.parse(variable2) <= Date.parse(variable3) Something like that.