Before Query Business rule

Vinay49
Tera Expert

Hello,

 

We have read ACL on cert_element table, 

Vinay49_0-1710342709359.png


Due to this ACL,  getting error when  read-only user open certification task record(cert_task)

 

 

Vinay49_0-1709871518462.png

Now the requirement is, can we hide this messages by using before query business rule on cert_element instead of read ACL on cert_element table

OR

Is there any way to achieve these?

Thanks in advance

3 REPLIES 3

Sandeep Rajput
Tera Patron
Tera Patron

@Vinay49 Message can be hidden by setting the following property.

 

Name : glide.db.encoded_query.field_acl_error_msg 
Type : true | false
Value: false

 Source: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0717961

Hi Sandeep,

Thanks for your reply. However this property will effect in globla. I mean it will apply for all tables. but it should not.

@Vinay49 What's the issue in suppressing such messages Globally? Would you like to show the similar message for other tables? Wouldn't it be an inconsistent user experience? 

 

Other way is to grant the user access of the required via table/field level ACLs, one done the messages would get suppressed.