- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2016 11:22 PM
Hi,
Can anyone help me find where the IncidentState vars are defined? There's several OOTB biz rules using statements such as:
current.incident_state.changesTo(IncidentState.CLOSED)
current.incident_state.changesTo(IncidentState.RESOLVED)
thanks
Dave
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2016 12:08 AM
Looks like there is a OOTB business rule called "Load incident models into scratchpad" that defines them.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2016 12:08 AM
Looks like there is a OOTB business rule called "Load incident models into scratchpad" that defines them.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2017 01:43 PM
Team,
Just want to add to Jace's reply
The values for IncidentState are defined in the IncidentState script include, that script include gets its values from the IncidentStateSNC script include. The
In my Helsinki dev instance the values are
IncidentStateSNC.NEW = "1";
IncidentStateSNC.IN_PROGRESS = "2";
IncidentStateSNC.ACTIVE = IncidentStateSNC.IN_PROGRESS;
IncidentStateSNC.ON_HOLD = "3";
IncidentStateSNC.AWAITING_PROBLEM = IncidentStateSNC.ON_HOLD;
IncidentStateSNC.AWAITING_USER_INFO = IncidentStateSNC.ON_HOLD;
IncidentStateSNC.AWAITING_EVIDENCE = IncidentStateSNC.ON_HOLD;
IncidentStateSNC.RESOLVED = "6";
IncidentStateSNC.CLOSED = "7";
IncidentStateSNC.CANCELED = "8";
Thanks,
Cody