The CreatorCon Call for Content is officially open! Get started here.

Timer with start date and time in workflow is not working.

saran raj
Tera Contributor

Hi,

I am using a timer with wait for condition as start date and time (PST hours). I used the below script for start date condition and it worked but when I changed variable type to Date/Time, the timer condition is not working when user selects date and time (PST hours). Could someone please help with the below script?

 

var start_date = new GlideDateTime(current.variables.start_date);
answer = gs.dateDiff (gs.nowDateTime(), start_date,true);

 

The above script is working for selected date but not working for data along with time (pst hours). Please provide your suggestions.

Thanks!

 

5 REPLIES 5

saran raj
Tera Contributor

Hi @Ankur Bawiskar Any thoughts on the above query please?