Group Agregation

Hi everyone,

I created a webservice connector and in the group aggregation process, the client requested something that is not very common in this process, they have 960 entitlements counting by group name, but when we count by group ID we have only 80 groups, because each one of them repeats 12 times, and this is where my doubt is.
Is it possible to make the group id repeat 12 times for each group name? Because when I configure the group aggregation process it only brings me 80 groups.
An example for better understanding:
“group_id”: “1”, “group_name”: “Consultant - KAST”
“group_id”: “1”, “group_name”: “Consultant - TSKL”
“group_id”: “1”, “group_name”: “Consultant - SATK”
My need for this is that to add a group I need the group ID to do it, and that’s why this doubt arose.

Can I do some process that allows me to bring all available groups even when the group ID is repeated 12 times?

Thank you very much in advance for your help.

Hi @reinajss,

You can write a AfterOperationRule to complete the following requirement by using the WebServicesClient to call the APIs in the rule itself and then parse the groups into updatedAccountOrGroupList.

You can refer here:- https://developer.sailpoint.com/idn/docs/rules/connector-rules/webservices-after-provisioning-rule

1 Like

Hi Animesh,
Have you an example using this “updatedAccountIrGroupList”, I’m new using IDNow, and I never used this object yet.
If you had an example would be a great for me.

thanks in advance for your help

Here’s the example:

List result = new LinkedList(); //This is list of maps of all groups/account
Map map = new HashMap(); //This map contains attribute name and values of single group/account
map.put(attributeName, attributeValue); 
result.add(map);

Map updatedAccountOrGroupList = new HashMap();
updatedAccountOrGroupList.put("data", result);
return updatedAccountOrGroupList;

Great Animesh,

This help was incredible. I’m so appreciate your help.

1 Like

Hi Animesh,

About this process of changing the name of a profile by the profile id, is it possible to take the values of an entitlement aggregation and use it in the addition of entitlement?
If possible, how can I get the entitlements aggregation values from within an Entiltements addition?

Thanks in advance for your help.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.