Hi Ankur,

So I've updated the script as suggested but the tasks are still being generated?

so script now reads:

 

var terminationDate = current.variables.termination_date.getDisplayValue();

var formatdate = day.getByFormat("yyyy-MM-dd");

gs.info("Termination Date" + terminationDate);

answer = gs.dateDiff(new GlideDateTime(), terminationDate, true);

 

Alex