Optional$overrideSet properties not directly supported by this API.
OptionalactiveWhether the model is active. Defaults to true.
OptionaladvancedEnables User Criteria-based access control (availableFor/writableFor/notAvailableFor) on
the model, in addition to readRoles/writeRoles. Defaults to false.
OptionalavailableUser Criteria that grant read access to records using this model, in addition to readRoles.
Only takes effect when advancedSecurity is enabled. Pass a user_criteria sys_id or a
Record<'user_criteria'> reference.
OptionalavailableWhether the model appears in UI dropdowns. Applies to change_request (chg_model) only — set
to false for system-assigned models. Defaults to true.
OptionalcolorBackground color for this model, shown in Change calendar/board views (e.g. 'green' or a hex
value like '#2E7D32'). Applies to change_request (chg_model) only.
OptionaldefaultMarks this as the default model for the table. Maps to the class-specific default flag
(default_change_model / default_prb_model / default_prb_task_model). Only one model per
table should set this. Defaults to false.
OptionaldescriptionDescription of the model. Stored only on the subclass tables (chg_model / prb_model / prb_task_model).
OptionalitilITIL change process classification. Applies to change_request (chg_model) only.
Name of the state model (e.g. "Normal", "Emergency").
OptionalnotUser Criteria explicitly excluded from this model, overriding availableFor/writableFor and
any matching roles. Only takes effect when advancedSecurity is enabled. Pass a user_criteria
sys_id or a Record<'user_criteria'> reference.
OptionalprotectionControls edit/view access for other developers after the application is installed.
OptionalreadRoles allowed to read records using this model. Pass Role references or role names.
OptionalrecordTemplate values applied when the model is assigned to a record. Applies to change_request
(chg_model) only. When set, the plugin automatically enables apply_record_preset so the
platform applies the preset on model assignment.
OptionalstateThe field on the table that holds the state value. Defaults to 'state'.
OptionalstatesMap of developer-chosen state keys to state configurations. Keys are referenced by transitions.
The table the model applies to. Determines which model table the records are written to.
OptionaltaskProblem task type. Applies to problem_task (prb_task_model) only. Controls which kinds of
tasks the model governs: 'general' for standard tasks, 'rca' for root-cause-analysis tasks,
or 'model' for template tasks.
OptionaltemplateGroups whose members can approve a proposed Template before it is published. Pass a
sys_user_group sys_id or a Record<'sys_user_group'> reference.
OptionaltemplateUsers who can approve a proposed Template before it is published. Pass a sys_user sys_id or
a Record<'sys_user'> reference.
OptionaltemplateControls who may propose new Templates (sttrm_template records) for this model: 'read'
allows anyone with read access to the model, 'write' restricts proposal to those with write
access. Applies to all model tables, independently of advancedSecurity.
OptionaltransitionsValid transitions between states, with optional gating conditions. Omit for a model-only update.
OptionalwritableUser Criteria that grant write access to records using this model, in addition to writeRoles.
Only takes effect when advancedSecurity is enabled. Pass a user_criteria sys_id or a
Record<'user_criteria'> reference.
OptionalwriteRoles allowed to write records using this model. Pass Role references or role names.
Configuration for a State Model and all of its states, transitions, and conditions.
The model is written to the table that matches the target
table:change_request→chg_model,problem→prb_model,problem_task→prb_task_model, any other table → the basesttrm_model. Class-specific properties (availableInUI,recordPreset) only apply tochange_request;defaultModelanddescriptionapply to the subclass tables.