Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Is it possible to update the fields value based on other fields value change using onCellEdit() client script?

Tejaswini Moha1
Kilo Contributor

Hi all,

I have i doubt, can we change the value of some field based on other field value change using oncellEdit() client script?

For example, if i change the value in short description, can i add old short description to description.. such kind of senario is possible using onCellEdit()?

 

Thanks and regards,

Tejaswini.

1 ACCEPTED SOLUTION

Ganesh Pardhe
Kilo Guru

Hello Tejaswini,

check below screen shots for client script and script include to achieve the requirement. 

Client script:-

find_real_file.png

Script Include:-

find_real_file.png

Please mark helpful and correct if my answer is worthy.

Thanks and regards

Ganesh

View solution in original post

6 REPLIES 6

Ganesh Pardhe
Kilo Guru

Hello Tejaswini,

check below screen shots for client script and script include to achieve the requirement. 

Client script:-

find_real_file.png

Script Include:-

find_real_file.png

Please mark helpful and correct if my answer is worthy.

Thanks and regards

Ganesh

Hi Ganesh,

Thank you for the reply. This is something i was looking for.

Regards,

Tejaswini.