Quantcast
Channel: ServiceNow Community - Development & Integration
Viewing all articles
Browse latest Browse all 423

Copying Value of a user-defined variable into a Form field "Due Date"

$
0
0

Hello,
I have a user defined variable for a Service Catalog called "New Hires"
I made a date variable for the task that runs from that Request item called "start_date"
I am trying to set the "Due Date" in the task to match and copy from the user defined variable of "start_date"

task.due_date = current.variables.start_date;

I can set the Due Date to the current time
task.due_date = NowDateTime();

But I can't make it copy from the user defined variable "start_date"


Viewing all articles
Browse latest Browse all 423

Latest Images

Trending Articles



Latest Images