RITM Form Field ReadOnly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 12:04 AM
Hi Team,
I want to make state field read only in RITM form. However the state field is coming from task table. How can I make task table field readonly in ritm form.
Please suggest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 12:07 AM
Hi
you have to define a so-called "Dictionary Override" for the state field on the sc_req_item table.
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 12:10 AM
Hi Malik,
I have few filters which should be satisfied before making the state field read-only.
Filter 1 : RITM is assigned to ABC group.
Filter 2 : logged in user belongs to ABC group.
If both above filters satisfies then keep the state field editable else it should be read only.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 12:16 AM - edited 08-16-2023 12:18 AM
You can create a WRITE field ACL on the State field.
with condition:
ACL would be - sc_req_item.state
Assignment group - is - ABC group
and mark the advanced checkbox as true and in the script you can write:
answer = gs.getUser().isMemberOf('sys_id_of_abc_group');
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 12:22 AM
Hi Aman,
Do we have any other way to do this rather than ACL ?