Change Request qquivalent to script include "IncidentState"

Tim Noack
Tera Contributor

Hello, is there an equivalent to the IncidentState script include for change management?

 

When updating incident state values (e.g. in a business rule), it is recommended to use "IncidentState.CLOSED" instead of '7'.

 

Within change management I couldnt find a similiar script include. So I assume I have to hard coded the state value into my business rule or does anyone know about a best practice alternative?

1 ACCEPTED SOLUTION

Robert H
Mega Sage

Hello @Tim Noack ,

 

There is no equivalent Script Include for Change Requests out of the box.

 

But this does not mean you have to hard code the state values in your logic. You could simply create your own Script Include, based on IncidentStateSNC but adjusted for the Change Request states.

 

Regards,

Robert

View solution in original post

5 REPLIES 5

Robert H
Mega Sage

Hello @Tim Noack ,

 

There is no equivalent Script Include for Change Requests out of the box.

 

But this does not mean you have to hard code the state values in your logic. You could simply create your own Script Include, based on IncidentStateSNC but adjusted for the Change Request states.

 

Regards,

Robert