if (!incident.next()) {
incident.newRecord();
incident.short_description = summary;
incident.impact = 3;
incident.urgency = 3;
incident.assignment_group = ''; // Your integration team here;
} else {
// Increase impact and urgency each time the event action is called
incident.impact = (+incident.impact - 1) < 1 ? 1 : +incident.impact - 1;
incident.urgency = (+incident.urgency - 1) < 1 ? 1 : +incident.urgency - 1;
}
(ServiceNow )
these seem to work! function onSubmit () { alert ( g_form . getDisplayBox ( 'cost_center' ). value ); //--classic UI alert ( g_form . getDisplayValue ( 'cost_center' )); //--service portal }
Comments
Post a Comment