I want to display only the identities whose type is either "interne" or "externe". Here is my code in Sailpoint:
import sailpoint.connector.DelimitedFileConnector;
Map map = DelimitedFileConnector.defaultBuildMap(cols, record);
String Type = (String) map.get( "TYPE" );
if(!Type.contains("Interne") && !Type.contains("Externe")){
return null;
}
return map;
When i launch an aggregation account task, i have the error: Exception lors du regroupement. Cause : java.lang.RuntimeException: sailpoint.connector.ConnectorException: Build Rule must return a Map.