Ankur Bawiskar
Tera Patron

@ServiceNow Tech 

what's the business requirement for this?
check this link

Service Portal Widget - grabbing variable value on change in Client Script and passing to Server Scr... 

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