how to set a negative value to the duration field?

Rose17
Tera Contributor

Hi All,

I want to set a negative value in a duration field.

Is it possible to do so?

Any help will be appreciated.

Thanks in advance.

1 ACCEPTED SOLUTION
4 REPLIES 4

Could you tell me which field type can store -ve values?

Hi Rose,

you can have normal string field or integer field to hold those negative values

Regards
Ankur

Tanushree Doiph
Mega Guru

Hi, 

as mentioned in Docs, Negative duration values are not supported

 

Below links will help you,

https://docs.servicenow.com/bundle/london-application-development/page/script/general-scripting/conc...

https://old.wiki/index.php/Setting_the_Duration_Field_Value 

 

Thanks

Tanushree