Hi I have stored the values in connectorstatemap while doing account aggregation and want to use those values in group aggregation. But when I tried to retrieve the information it is showing null? But when I do the test connection I can retrieve the information stored in connectorstatemap
Could you please share the snippet of code you are using to retrieve the data from connectorStateMap
?
import sailpoint.object.Application;
import java.util.Map;
import java.util.List;
import java.util.StringJoiner;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
Log log = LogFactory.getLog("sailPoint.connector.webservice.BeforeRule");
try {
// Retrieve connectorStateMap from the application attribute
Map connectorStateMap = (Map) application.getAttributeValue("connectorStateMap");
if (connectorStateMap != null) {
log.debug("Successfully retrieved connectorStateMap.");
// Retrieve stored codes from the map
List storedCodes = (List) connectorStateMap.get("storedCodes");
if (storedCodes != null && !storedCodes.isEmpty()) {
// Log the retrieved stored codes
log.debug("Total Stored Codes: " + storedCodes.size());
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.