Make assignment group field read only on the incident form after saving in SOW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Once we select the assignment group and after saving the record in the incident form, the field needs to become read only in the service operations workspace, we can't change the assignment group. the below code is not giving the expected output. please help with this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
why to raise this as duplicate question?
you already have open question
Make assignment field mandatory on the incident form after saving (SOW)
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hi @suryaogeti1 ,
Correct way: Use a UI Policy (works in Workspace)
UI Policies are fully supported in Service Operations Workspace and are the recommended solution.
What to do (UI Policy specifications)
1. Create a UI Policy
- Table: Incident
- Applies to: All
- Global: true
2. UI Policy Condition
- Assignment group is not empty
- New record is false
3. UI Policy Action
- Field: Assignment group
- Read only: true
That’s it.
The assignment group becomes read‑only immediately after save
Works in Service Operations Workspace and Classic UI
No scripting needed
If you found this helpful, please mark it as Helpful and Accept as Solution so it can reach others too.
Sachin Narayanasamy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
I have used Ui policies, if we select the assignment group, it is making read only, after saving the record, it is coming to normal state and it is editable. even after the saving the record, I need assignment group field to be read only by that no one can change the value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi @suryaogeti1
- Navigate to Incident > All and open an incident.
- Right-click the form header and select Configure > UI Policies.
- Click New.
- Fill in the form:
- Short Description: Read-only Assignment Group after save.
- Table: incident
- Conditions: [Assignment group] [is not empty] AND [State] [is not] [New]
- Global: Checked.
- Workspace: Checked (ensure this is enabled for SOW).
- Save the UI Policy.
- UI Policy Actions:
- In the UI Policy Actions related list, click New.
- Field name: assignment_group
- Read only: True
- Click Submit.
