Question on catalog task

Mani60
Tera Contributor

Hi All,

The catalog item has a date and time field. When HR selects the date and submits the request, the RITM is created and when the RITM is approved, the task is created, but according to the date and time field which is the date selected, the task should be created at 6 pm on the same date.

how to select default value in catalog task activity so that task gets created only at 6 PM which is selected date?

Could you please help me on this to get the proper solution.

Thanks,

8 REPLIES 8

Bhavya11
Kilo Patron

Hi @Mani60 

 

Please refer the below link

 

https://www.servicenow.com/community/service-management-forum/wait-for-a-date-to-start-tasks-using-f...

 

 

Please mark this as Helpful if this is useful

Thanks,
BK

Mani60
Tera Contributor

Hi @Bhavya11 
I have written this code , but i'm not sure how to add 6 pm in this. so it should trigger at 6pm of the same date mentioned.

Mani60_0-1721639335186.png

 



-O-
Kilo Patron
Kilo Patron

Your definition of the problem is incomplete. You need to specify 6PM in which time zone?

There are 38 plus/minus time zones each day, so there are 38 plus or minus 6PMs each day.

Of course the solution - and the code depends on the answer to this question.

Mani60
Tera Contributor

CST Time zone