The Zurich release has arrived! Interested in new features and functionalities? Click here for more

How to make field editable on RITM form but it when RITM closed it should be read only

Tina29
Tera Contributor

Hi All,

I want to make 3 fields editable on RITM and sc task both and when  RITM closed it should be read only. I have tried this with UI policy and catalog script but when RITM or SC task closed those fields are not becoming read only. So ideally it should not be editable when Sc task or RITM is closed. 

 

Please suggest me on this. 

4 REPLIES 4

-O-
Kilo Patron
Kilo Patron

Locking down fields is done using ACLs and maybe Data Polices. Though data policies behave in a user unfriendly manner in lists.

You need to create write ACL for each of the locked down fields that permits editing only when the state is not closed.

You have to make sure there are no other ACLs for those same fields already granting access, cause ACLs can only allow access, those can't revoke access. So if access is granted already by other ACLs under any condition, the only way to counter that, is to disable those ACLs.

Tina29
Tera Contributor

Can you help me with ACL rule I am new to ACL. when sc task and RITM closed those  fields should become read only

 

Thanks in advance 

You should locate those ACLs that are active, where operation is write and name is sc_req_item.<field name>. If any of the 3 fields does not have such a record for it, you should create new ACLs. There may be more than a record for any of the fields.

Then make sure/update the filters in all ACLs to only include active records.

You will find ACLs under System Security -> Access Control (ACL):

2023-01-31-1.jpg

Don't forget to elevate to role security_admin, otherwise you will not be able to add or modify ACLs:

2023-01-31-2.png

 

2023-01-31-3.jpg