How to add or remove an user from list collector field.

sinu2
Tera Expert

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 

sinu2_0-1694421422010.png

 

Scheduled report:::::::::::::::::::::::::::::::

sinu2_1-1694421591723.png

 

10 REPLIES 10

Hi @sinu2 ,

Can you please check at what line the code fails?