How to start or pause the Timer field based on the other field

Rameshnathan
Tera Expert

Hi,

I have timer field on my incident table but by default is running whenever i'm open the new form,

but i want to Stop the timer field by default and it should run based on the other field (Ex : state field)

find_real_file.png

Thanks

9 REPLIES 9

Cool, but check if this works in Service Portal view, since DOM Manipulations are not allowed there.


While using this script to control the ti me worked field based on state , i am getting this error

 

find_real_file.png

Hi,

have you considered disabling script isolation? OOTB you have no access to DOM elements. See https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0743155

Kind regards

Maik 

Arjun Kumar Le1
Tera Contributor

As per the given document i am trying to disable false but nothing is changing. can u please help me what to do.

 

 

find_real_file.png

find_real_file.png

Hi,

please remove your Business Rule. It is the wrong approach. The field "Isolate script" is already there. You just have to place it on your form or set the value at list view. 

Please see https://community.servicenow.com/community?id=community_question&sys_id=cf5b6dd7db6ca010fb115583ca96...

Kind regards 

Maik