Business rule to make fields read only

Brian Lancaster
Tera Sage

I have a requirement that when an incident is saved to a certain group a bunch of fields need to be made read only as we will be doing a rest call to send it to a vendor to work on the incident.  Is there a way to do this though a business rule as any way I try it thought a UI Policy it does it as soon as the group changes so all fields cannot be filled out.  I would like to make it so that it only does after insert or update.  Is there a script that I can run in a business rule that will work like g_form.setReadOnly?

1 ACCEPTED SOLUTION

Nithish1
Tera Guru

Hello Brian,

 

Use a data policy, if the fields mandatory it will not make read-only. Since you are using rest call if they send data back just make sure Apply to import set is unchecked.

 

Let me know if this helps.

 

 

Thanks,

Nithish

View solution in original post

3 REPLIES 3

Jon Barnes
Kilo Sage
I would suggest updating the ACLs to handle this scenario. ACLs are cumulative, meaning if any ACL grants a user access, they will get access, so keep that in mind as you proceed

that seems like a lot of ACLs to write to deny ITIL users write access to almost every field on the form.

Nithish1
Tera Guru

Hello Brian,

 

Use a data policy, if the fields mandatory it will not make read-only. Since you are using rest call if they send data back just make sure Apply to import set is unchecked.

 

Let me know if this helps.

 

 

Thanks,

Nithish