State Field Read Only when state is closed complete in catalog task

Swathi P
Tera Guru

Hi All,

 

We have a requirement On selecting state as closed incomplete/skipped/closed, State field  should get greyed out once we have saved the task form with state as closed.

 

I wrote a write ACL to make state field read only  once the state moves to Closed Complete it is not working properly. I could still find catalog task state field as editable. Is there any mistake ?

find_real_file.png

find_real_file.png

6 REPLIES 6

vinothkumar
Tera Guru

You have to simply write in opposite way, when state is in closed complete, for write operation add admin role. Then try by impersonating non admin users, it will work.

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Swathi,

Try to debug the security rules and check which other ACL is allowing this

If you find another ACL then better way is to use UI policy instead of updating that ACL also

have ui policy on similar lines and it should work

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi,

 

I enabled debug security properties  and found there is one more ACL which is defined on Cloud Management Platform scope which is being executed for this operation. This is being evaluated not the one which i wrote on Global Scope. I am not able to disable that ACL. It throws an error . What can i do?

Hi Swathi,

Try to handle this in an onLoad UI policy then instead of updating the ACL from other scope.

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader