automatically populated

Shir Sharvit
Tera Contributor

Hi,

I've created a record producer with the 'Caller' field mapped to the incident table, a 'Mobile Phone' field mapped to a user table field, and a 'Call Back' field mapped to a custom field 'u_call_back' in the incident table. I'd like the 'Call Back' field to be automatically populated with the phone number of the selected caller in the record producer. However, users should also have the option to modify this value. Can someone guide me on how to achieve this?

 

ShirSharvit_0-1701594984818.png

 

I tried to use default value but it populates the call back field with the current user logged in instead of the caller.

 

Thank; Shir

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@Shir Sharvit 

you should use onChange client script for this with GlideAjax

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

will it work on record producer ?

can you please send me the script