- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2019 02:21 PM
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.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2019 05:28 AM
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".
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2019 05:08 AM
Hi ,
Please refer the below link .
https://community.servicenow.com/community?id=community_question&sys_id=aac84b61db5cdbc01dcaf3231f961935
Please mark it as correct answer
Regards ,
Sindhu B

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2019 05:28 AM
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".
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2019 07:54 AM
Hi there,
Thank you for this response. I am having troubles making this work. Is there anything else you may suggest trying?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2019 07:57 AM
Hello,
Do you use a catalog item with a workflow or a record producer?