AnsweredAssumed Answered

WOB.genTime not returning the job run time

Question asked by allein.dave.t.binuya on Jan 13, 2018
Latest reply on Jan 19, 2018 by allein.dave.t.binuya

Hello,

 

I am trying to use WOB.genTime to get the date and time of a job actual run start time + 13 hours. I have put the script below on the job level - job run time javascript however the variable HKTime is returning the application trigger time instead of the job run start time. I am using CA Workload Automation DE 12

 


WOB.genTime('HKTime','NOW PLUS 13 hours');
HKTime = WOB.HKTimeYEAR + WOB.HKTimeMM + WOB.HKTimeDD + WOB.HKTimeHH + WOB.HKTimeMN + WOB.HKTimeSS;

 

Any thoughts would be appreciated.

Thanks.

Outcomes