- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2014 03:27 AM
I have an UI policy to make the incident state field read only when the state is closed. However I noticed that, in the list view, Im able to change the status from Closed to whatever available I want i.e) when I click on 'Closed' in Incident application or when I query for incident state is closed, the state in the query are editable or can be changed. How do I restrict this?
Solved! Go to Solution.
- Labels:
-
Service Mapping

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2014 04:34 AM
Hi,
I can see the error now.
Please remove the numbers from your client script(on the left side green one like 02,03....)
Please copy the below script and paste it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2014 04:41 AM
Hi catchdini,
If your Incident table contains write ACL for entire table (Incident or incident.*) .
Then just add 1 more condition there:
if(current.state == 7) { //Closed
answer = false;
}
Then I think there is no need of Cell Edit Client Script.
Thanks,
Darshan