ServiceNow: check if any values were modified on the form

example: check carried out in a 'risk assessment' client side UI action

if(g_form.modified){
alert('As values were changed, saving the form');
var resSv=g_form.save();
return;
}

Comments

Popular posts from this blog

Running transform maps asynchronously

Post a command to the ECC queue for the mid server to initiate a powershell file copy

GlideRecord setValue