Default value for a Duration Field

sylvain_hauser
Tera Contributor

Hi,

I am looking to have 12 hours by default in a glide_duration field.

I tried, default value:
"1970-01-01 12:00:00"
"14400000"
"setDisplayValue('3 04:30:14')"
"javascript:setDisplayValue('3 04:30:14');"


On the wiki, it is mentioned I didn't find the answer...
http://wiki.service-now.com/index.php?title=Setting_the_Duration_Field_Value
And I would like to avoid to play with business rule if possible

Thanks
Sylvain

3 REPLIES 3

sylvain_hauser
Tera Contributor

Anyone? I am thinking about creating a business rule "create" to do that... But sounds heavy


sylvain_hauser
Tera Contributor


javascript:current.u_catalog_task_duration.setDisplayValue('3 04:30:14');

is working!!!