I'm trying to create a button on feedback form named create incident. once user click on button then indent should be created and the the number of the created incident should be populated in string field on feedback form (on existing record).
Assigning sys_id display value to string field in servicenow
20 views Asked by Praveen N At
1
I think client UI Action & client callable script include is what you need to fulfil requirements.
I have form which like on this pic:enter image description here
In example I created for you: ui action configuration
this is script include which returns server side info
this is ui action script:
this is script include:
To learn more about GlideAjax usage see this tutorial:
https://developer.servicenow.com/dev.do#!/learn/learning-plans/washingtondc/servicenow_application_developer/app_store_learnv2_scripting_washingtondc_extending_glideajax
for more information take a look here: https://developer.servicenow.com/dev.do#!/reference/api/vancouver/client/c_GlideAjaxAPI