Setting Due Date within Request form

Derek23
Kilo Contributor

Hello SN community, 

As per below, I am trying to fill in the due date of a request based on a date/time variable in the catalog form. How will I go about configuring it so that the Due Date = "When would you like this to be completed?". 

I am new to developing and scripting so please try keeping it simple. Thanks for your help in advance.

 

 

find_real_file.pngfind_real_file.png

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

Hi there,

You could add a Run Script step to your workflow, which fills the due_date based on the input on your variable.

See (working) example below. In my example I named the variable "due_date".

find_real_file.png

find_real_file.png

find_real_file.png

find_real_file.png

 

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark

---

LinkedIn

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

6 REPLIES 6

Derek23
Kilo Contributor

Hi there, 

I use a catalog item with a workflow...

I realized I made a typo, this fixed my issue. Thank you so much.