How to add or remove an user from list collector field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2023 01:40 AM - edited 09-11-2023 03:10 AM
Hi Team ,
I have an requirement, I have a scheduled report, and in that a user field list collector type present.
And i have a manager field refers to user table in the sys_user_group table. If "XYZ" group has changed the manager in that record, then we need to check the removed user in the manager fiels wheather exist in the list collector scheduled report or not. if yes the user still present means we need to remove and we need to add newly added manager in the list collector field.
Businnes rule trigger condition on group table
When ever manager changes this BR will trigger
Scheduled report:::::::::::::::::::::::::::::::
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2023 02:19 AM
Maybe you should add all relevant groups instead of picking individual users, that should send the notification to the current manager.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2023 02:54 AM
Nope. May be you did not get my question clearly. I am just asking how to check existing members in the list collector to remove the user that has been changed from the group table manager field to add newly added group manager in to the list collector
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2023 02:33 AM
Hi @sinu2 ,
You can write a business rule in 'sys_user_group' with the script below
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2023 05:19 AM