
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2019 02:00 AM
So, we've noticed an issue where, when creating an incident, if the state field is changed before the form is submitted/saved, the SLA timer doesn't actually start. Meaning we have had P2's technically breach the SLA, but reporting shows that it's actually made the SLA.
I've narrowed this down to ITIL users changing the state field to Active before the form is saved.
What I want to try and do it set 'state' to read only until the form has actually been submitted. Once it has, it can then be editable again.
I believe this would be best as a UI Policy rather than a Client Script?
Due to not being very clued up on scripting yet, I've been trying the standard way of setting fields, but nothing is working. Would anybody know the right script to use to make it work?
Any help would be greatly appreciated!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2019 02:33 AM
Hi Straut,
The UI policy provided by @Asif will work, just add a condition in the condition field as - State : is : New and Make Reverse If false True/Checked.
Regards,
Ajay

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2019 02:20 AM
Kindly check the client script that i shared below. This should work for you.
Mark the answer as correct if this answers.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2019 02:33 AM
Hi Straut,
The UI policy provided by @Asif will work, just add a condition in the condition field as - State : is : New and Make Reverse If false True/Checked.
Regards,
Ajay

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2019 02:51 AM
It's not quite what I was aiming for, but it does what we need with the condition added in.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2019 02:55 AM
good to hear.
Kindly mark the answer as helpful.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2019 03:17 AM
If my solution has helped you, kindly mark my comment as a helpful and correct answer.