Showing Custom Fields on Overview Tab Only for Major Incidents in SOW

sonalik
Tera Contributor

Hi Team,

In Service Operations Workspace, I noticed the Major Incident State field appears on the Overview tab only for Major Incidents and not for normal Incidents.

I have created a few custom fields and would like them to behave the same way, meaning they should be visible on the Overview tab only when the Incident is a Major Incident.

Can anyone advise:

  • How is this OOTB behavior configured?
  • Where can I configure similar visibility for my custom fields?
  • Is it based on major_incident_state, the sn_sow_mim plugin, or another Workspace configuration?

Thanks.

1 REPLY 1

Javeria
Tera Guru

Hi @sonalik,

OOTB Overview tab in the SOW is driven by the SOW-Incident-Overview form view on the Incident table. Major Incident State only shows up there when the sn_sow_mim plugin (Major Incident Management for Service Operations Workspace) is installed and active. The per-record show/hide comes from the record’s major_incident_state value, which is set once an incident enters the MIM lifecycle. To see the exact OOTB logic on your instance, open sys_ui_policy_action.list and filter on Table = incident and Field = major_incident_state.

Configuring the same for your custom fields

  1. Add the fields to the SOW-Incident-Overview view. Also add them to the Service Operations Workspace view of the Incident form, since only fields present there should be configured on the Overview view.
  2. Create a UI Policy on incident:
    • Condition: Major incident state is Accepted (major incidents only) or is not empty if you also want it shown for candidates.
    • Check Reverse if false.
    • Add a UI Policy Action setting Visible = true for each custom field.
  3. Make sure the fields aren’t mandatory elsewhere, because a mandatory empty field can’t be hidden.

If you need a whole section shown only for MIs
That’s a UI Builder change. First duplicate the SRP variant, since the original is read-only when a scoped app is active. Then set a visibility condition on the section component.

 

Summary: sn_sow_mim adds the field to the view, which major_incident_state is the condition, and a UI Policy on the form view handles visibility. For field-level visibility, the UI Policy approach is the cleanest and upgrade-safe option.

Hope this helps!