Incident - Cancel State

rsanon
Tera Contributor

What is the best approach to setting cancelled incident tickets to Non-Active?

15 REPLIES 15

Thanks Scott! Makes sense. Will I have to create another property for Cancelled?

Currently we use glide.ui.autoclose.time for the automatic close for Resolved Incidents.


sgrison
Tera Guru

You can use the 'TaskStateUtil' to control 'active' and 'inactive' based on the Incident State. See the following article.

http://wiki.service-now.com/index.php?title=TaskStateUtil


abhijats
Tera Expert

Hi rsanon,

I set Active=False for cancelled Incidents because in our process, these types of tickets are not going to alive again.


rsanon
Tera Contributor

Thanks Abhijat!

What steps did you take to achieved that?


abhijats
Tera Expert

Have created a new UI Action that makes the status of ticket to 'Cancelled' and active=false. And this button remains visible to user unless the ticket gets resolved.