Make change task fields read only, except if assigned to is the user

vw1
Giga Contributor

Hi

I have created a UI Policy with the below conditions: if these conditions are true, make fields in change tasks Read-Only.

find_real_file.png

I want to add a condition, that if "Assign to" = user, user can still edit the fields.

I have thought of adding a condition "Assign to is not (dynamically) me", but ServiceNow does not provide a filter option for "is not (dynamic)".

 

Are there any suggestions of which route I should go for? For example to not use UI Policy and something else instead.

 

Thank you. 

8 REPLIES 8

If list view, then yes you have to write in onCellEdit. But ACL is best option.

Also, try out the solution that Mahesh suggested. Not sure if it works, but check that out.

If this has answered your question, kindly mark the comment as a correct answer.

maheshn
Mega Expert

Let me know if it works for you.

If you want to continue with ui policy, use condition like this. Please test and let me know.

find_real_file.png

DId this work for you?