Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2018 12:36 AM
Hi muktha,
I'm not sure it will work but try to create the following Business Rule:
Create a business rule with the following information:
- Active: True
- Advanced: True
- Table: sys_attachment (Attachments)
- Condition: !gs.getUser().isMemberOf(<groupName>)); && gs.getSession().isInteractive()
- Script:
hideAttachments();
function hideAttachments(){
var answer = 'sys_created_by=' + gs.getUserName();
current.addEncodedQuery(answer);
}
Hope this will help for your need.
Please, mark Correct or hit Helpful if you find my response worthy.
Cheers
Alberto