Create/Update the custom object during aggregation

Hi,

I am developing a Webservice connector application. We have an end-point /GetModuleRoles. It returns the data in format below. We have to call this end-point daily and create/update the Custom Object in Sailpont

/GetModuleRoles call returns

Portal Admin:Admin:Application Management
Portal Admin:Admin:User Management
Portal Admin:Admin:Organization Management
Portal User:Module A:Role1
Portal User:Module A:Role2
Portal User:Module A:Role3
Portal User:Module B:Role4
Portal User:Module B:Role5
Portal User:Module B:Role6
Portal User:Module C:Role7
Portal User:Module C:Role8
Portal User:Module C:Role9

Custom Object:

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE Custom PUBLIC "sailpoint.dtd" "sailpoint.dtd">
<Custom name="HHS_IDD_BHS_Module_Roles_Combination">
  <Attributes>
    <Map>
       <entry key="Module_Roles_Combination">
         <value>
           <List>
             <String>Portal Admin:Admin:Application Management</String>
             <String>Portal Admin:Admin:User Management</String>
             <String>Portal Admin:Admin:Organization Management</String>
             <String>Portal User:Module A:Role1</String>
             <String>Portal User:Module A:Role2</String>
             <String>Portal User:Module A:Role3</String>
             <String>Portal User:Module B:Role4</String>
             <String>Portal User:Module B:Role5</String>
             <String>Portal User:Module B:Role6</String>
             <String>Portal User:Module C:Role7</String>
             <String>Portal User:Module C:Role8</String>
             <String>Portal User:Module C:Role9</String>
           </List>
         </value>
      </entry>   

    </Map>
  </Attributes>
</Custom>

you can use the after operation rule and create on this rule, using the response object.

Thanks, is there an example rule I can follow?

I dont remember where exactly but there is a file with all example of rules(ruleexample, examplerule or something similar).

Also you can use the IIQ extension for eclipse or vscode and create a basi rule with it.

You can write Operation rule’s OR connector rules solve this, Sample rules and implementation logic can be found in the examplerules.xml file located in your IdentityIQ installation directory:

.../identityiq/WEB-INF/config/examplerules.xml

also, check the connector doc rules

Why don’t you totally keep is out of the connector and create a separate task to handle this ?

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