Name
global.ProblemStateSNC
Description
Problem State constants, use these constants when determining which Problem State to use. Example - change an Problem State to Closed var problemGr = new GlideRecord( problem ); if (problemGr.get( sys_id )) problemGr.state = ProblemState.CLOSED problemGr.update();
Script
var ProblemStateSNC = Class.create();
ProblemStateSNC.NEW = "101";
ProblemStateSNC.ASSESS = "102";
ProblemStateSNC.ROOT_CAUSE_ANALYSIS = "103";
ProblemStateSNC.FIX_IN_PROGRESS = "104";
ProblemStateSNC.RESOLVED = "106";
ProblemStateSNC.CLOSED = "107";
ProblemStateSNC.RESOLUTION_CODES = {
FIX_APPLIED: "fix_applied",
RISK_ACCEPTED: "risk_accepted",
CANCELED: "canceled",
DUPLICATE: "duplicate"
};
ProblemStateSNC.prototype = {
initialize: function() {},
type: 'ProblemStateSNC'
};
Sys ID
7b547b5b875b13000e3dd61e36cb0b55