Incident activity log Formatter and activity.xml, hide internal comments (work notes)

rhiannone1
Kilo Contributor

Hi,

The incident form Default view for the activity log section uses the formatter activity.xml.

This activity.xml is a black box, I cannot access the code or find any information on its structure. I need to restrict visibility of certain work notes in the activity log for a type of user. Is it possible for example to overwrite the database query sys_journal_field that is passed into the activity.xml? Does the activity.xml formatter use table [sys_journal_field]? Can this be achieved by creating a UI Macro, calling the activity.xml formatter and passing it the DB query?

I would appreciate some insight, or any suggestions on how restricting visibility of specific work notes (internal notes) for a type of user can be achieved.

Thanks

Rhiannone

2 REPLIES 2

tomashrobarik
Giga Guru

Hi,

you are right about the activity formatter. It is a black box, that you are not able to adjust/modify in any way. I'm not sure what you mean by the term "certain work notes" but what you can do is basically adjust ACLs on work_notes itself. This way you can restrict the visibility of all work notes on specific record.

Li QingWen
Tera Contributor

About your question,Is there a solution now?

I have a similar problem。