Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Example - Restrict a field with a script

This access control prevents everyone from editing an incident with a category of Software in a list. It is defined by a script.

Image omitted: RestrictSoftwareIncidents.png
- **Type:** record
  • Operation: list_edit
  • Name Incident:[incident]
  • Admin overrides: Clear the check box.
  • Script:

    if (current.category == 'software')
    answer = false;
    else
    answer = true;