var gr = current ; var firstName = gr.variables[‘first_name’] ; var lastName = gr.variables[‘last_name’] ; var fullName = lastName.getGlideObject().getValue() + ” ” + firstName.getGlideObject().getValue() ;
Sample code to restart servicenow workflow
var gr = new GlideRecord(‘sc_req_item’); gr.addQuery(‘number’, ‘RITM0106387’); gr.query(); if(gr.next()) { var w = new Workflow(); var context = w.startFlow(‘67755686db2c4b004620d2c75e96191e’, gr, ‘insert’, ”); }
Catalog client scripts and catalog UI Policies on ServiceNow Order Guides
By default catalog client scripts and catalog UI policies are not visible on the form, they can be added from the related lists section