By selecting the Opened for I want to Auto populate Contact number by using the Sciptinclude

kranthi2
Tera Expert

Hi,

i have used the below script with contact number modifications but it is not working as expected. hence contact number is not populating

please find the below mentioned Screenshots for the same.

 

onChange.pngScript.png

 

variable.png

 

Please help me out if i can do any modifications in the script.

Thanks,

18 REPLIES 18

Can you keep a log in your client sript and script include and see the value of contactnum


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

I kept the log message as well even it is not working.

Hi @kranthi2 

Looks like the script include few lines are missing,

Check sample one below:

VoonaRohila_1-1701419039724.png

 

 


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

Validate this @kranthi2 


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

 @kranthi2  As mentioned by Danish, please make your client script UI Type as All. And check