How to remove admin's activity from Activities Feed?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2020 12:19 PM
I would like to remove admin's activiti from Activities Feed Emails. How can I achieve that?
In my project, I copied LocalFeedGenerator.java and LocalFeedTaskProcessor.java and replaced import org.alfresco.repo.activities.feed.FeedTaskProcessor with import my.project.FeedTaskProcessor.
Then I created FeedTaskProcessor.java and inside the first for loop, I added
String postingUserId = activityPost.getUserId(); if(postingUserId.equals("admin")) {continue;}
For some reason, sometimes it works, sometimes not. Why is that?
howkymike
Alfresco Developer
Alfresco Developer
Labels:
- Labels:
-
Alfresco Content Services
0 REPLIES 0
