@jonathangilbert Please try following scripts. (function execute(inputs, outputs) {
var user = new GlideRecord(inputs.tablename);
user.addQuery('sys_id',inputs.sys_id1);
user.query();
while(user.next()){
user.setValue(inputs.field) = inputs.value;/...
Hello @Sangeetha8 I think the column name might be wrong.In the script you wrote, it's “actual_date,” but “work_start” seems to be the correct one. var currentState = g_form.getValue('state');
var acutalstart = g_form.getValue('work_start');
var pla...
Hi @Aswin Chandras1 Here is the sample code.I haven't thoroughly tested it, so please check it carefully. var incident_sysid = current.sysapproval.getValue();
var incident_record = new GlideRecord('incident');
incident_record.get(incident_sysid);
...
Hello @pramn Why don't you use the list report? https://www.servicenow.com/docs/bundle/yokohama-now-intelligence/page/use/reporting/concept/list-reports.html