Help needed to hide variables from audit history on INC created via Record producer

SandySeegers
Giga Expert

I have a Use Case that requires us to hide some data on INC based on the content of a field on the INC - Basically I'm talking about Row Level Security.

 

Everything is working fine - I'm able to hide the fields I need, in most cases, using Access Control Rules.   And when I hide fields using Access Control rules, the data will not show when I view History for the INC.

 

However, I can't seem to hide VARIABLE.fields on the question_answer table in the same way.   My ACLs seem to be completely ignored.     For example,   I created a rule on quesiton_answer with answer = false in the script section - something that will fail every time - which didn't seem to make a difference.   The VARIABLE fields are always visible in audit History.


In the case of the variable content, I need to do something to hide the data when viewing History for the INC.   I'm hoping somebody has a suggestion?


Thanx in advance


Sandy

1 ACCEPTED SOLUTION

SandySeegers
Giga Expert

This question was posted to ServiceNow HI server.   The response I got was that it is not possible to hide variable activity on audit history.



THe workarounds presented:



Once option is to remove an ITIL user's ability to view the History information of a record.



Another option would be to submit an enhancement request.


View solution in original post

4 REPLIES 4

SandySeegers
Giga Expert

This question was posted to ServiceNow HI server.   The response I got was that it is not possible to hide variable activity on audit history.



THe workarounds presented:



Once option is to remove an ITIL user's ability to view the History information of a record.



Another option would be to submit an enhancement request.


Jim Coyne
Kilo Patron

I'm assuming this question is related to Help needed Intercepting the insert() of question_answer?


YUp.   This was asked a awhile back.   This answer is why I've headed down my current path.   I need to prevent the value of some variables from appearing I history.   And I need to store the value of those variables in encrypted text fields somewhere.


Dan_Berglin
Giga Expert

Hi,



Im not sure why you wouldnt stop submission by client script, but have you tried with setWorkflow(false). It will force the GlideRecord to not run any further business rules (not sure about audit though).



Kind regards,


Dan Berglin