- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2020 06:34 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2020 08:15 PM
Hi
If you want to add states the best practice is to modify the IncidentState Script Include,
The IncidentStateSNC and IncidentState Script Includes provide State constants for use in scripts.
- Script Includes with SNC in the Name are meant to be read-only. (This ensures the SNC Script Includes are updated during upgrades.)
- To impose pre-requisites or limits for moving from one state to another, you can incorporate new logic in the IncidentState Script Include.
- To override a function defined in an SNC Script Include, copy that function to the paired version of the Script Include that doed not contain SNC. Paste and customize the function there.
It is considered best practice to refer to States in your scripts using constantscurrent.state.changesTo(IncidentState.CLOSED)
rather than valuescurrent.state.changeTo(7).
Please refer this doc
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Pranav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2020 03:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2020 07:18 PM
Hello Rama,
Please find below the links it might help you.
2) https://www.youtube.com/watch?v=9dHMvTAaXDs
I hope this will help you.
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response useful to you and help others to find information faster.
Thanks,
Tejas

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2020 08:15 PM
Hi
If you want to add states the best practice is to modify the IncidentState Script Include,
The IncidentStateSNC and IncidentState Script Includes provide State constants for use in scripts.
- Script Includes with SNC in the Name are meant to be read-only. (This ensures the SNC Script Includes are updated during upgrades.)
- To impose pre-requisites or limits for moving from one state to another, you can incorporate new logic in the IncidentState Script Include.
- To override a function defined in an SNC Script Include, copy that function to the paired version of the Script Include that doed not contain SNC. Paste and customize the function there.
It is considered best practice to refer to States in your scripts using constantscurrent.state.changesTo(IncidentState.CLOSED)
rather than valuescurrent.state.changeTo(7).
Please refer this doc
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Pranav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2020 08:17 PM
Let me check and get back to you.