Share all details about your problem, including any error messages you may have received.
Hello,
I’m creating a report that needs to be sent monthly to the managers of active identities. From what I’ve seen, only Identities and Workgroups can be defined as Emails Recipients.
Is there a way to send the report to a Population? If this isn’t possible, is there a way to change the users in a Workgroup dynamically?
HI @bruno-co there is no direct way to update workgroup from population but you can do below:-
If you are using loopback connector then you can define role base provisioning with assignement logic to that workgroup as that workgroup will be created as Entitlement and you can assigned.
if you do not have loopback connector then create role base provisioning with same assignement logic and in role debug you can mention the provisioning plan to add workgroup for that user.
If you do not want that then use run rule task and run everyday to update that workgroup as per condition .
try to use point 1 or point 2
@bruno-co use one of below method as per your requirement
identity.setWorkgroups(null); // LIst of workgroup Object
identity.add(null); // Workgroup object