WebService Customization Rule - Not Showing Correctly

Which IIQ version are you inquiring about?

Version 8.2

Share all details related to your problem, including any error messages you may have received.

I have a Customization Rule that is applied to a WebService connection. This is not throwing any errors, but it is not showing correctly in the UI. When I expect it to say Active, it says Disabled.
Code:

String isActive = object.getStringAttribute(“Active”);

if ( (isActive != null) && (“true”.equalsIgnoreCase(isActive))){
object.put(“IIQDisabled”, true);
} else {
object.put(“IIQDisabled”, false);
}

return object;

Identity Object Attribute:
Active: true

For me it looks like correct behaviour. Whenever isActive is true you set IIQDisabled to true - means you set link as Disabled.

The logic in sailpoint is the following if IIQDisabled is true that means link is disabled else its enabled (in all other cases)

This change should solve your problem.

String isActive = object.getStringAttribute(“Active”);

if ( (isActive != null) && (“true”.equalsIgnoreCase(isActive))){
object.put(“IIQDisabled”, false);
} else {
object.put(“IIQDisabled”, true);
}

return object;

I must have mixed that up. It is showing as expected now. Thanks!

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