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.

Pass value from Client Script to HTML and use it in GlideRecord in UI Page

BeBold
Kilo Expert

I have passed value from client side to HTML via  something like below

document.getElementById('process_id').value = "Testing";

 

I have set this value in <input type="text" name="process_id" id="process_id" size="75" style="width:50%;height:30px;margin:10px 0px 0px 0px" maxlength="100"/>

I want to use this process_id in Gliderecord of <g:evaluate>, How to use it?

 

My requirement is : Pass value from client script to HTML in UI Page.. I'm bit new to Jelly Scripting...Helping with syntax is appreciated.

1 REPLY 1

Rahul RJ
Giga Sage

Hi BeBlod,

you can check the below link for reference

https://community.servicenow.com/community?id=community_question&sys_id=a3b9086adb038d90847d5ac2ca96193b

Regards,

RJ