The following makes the automation console spit an error at >>: Property Task.deferDate requires a Date, but was passed value of type Number - and for the life of me I can’t figure out why if I am passing a Date.
I am trying to defer an item by 7 days.
var d = new Date()
var defer = d.setDate(d.getDate() + 7)
dupTasks.deferDate = defer;