Setting bundle extended attribute of type Boolean

Hello All,

We have an extended attribute for Bundle object of type Boolean. I need to set the value of this attribute via a Rule.
the setExtended methods expects a String value and not Boolean.
“public void setExtended2(java.lang.String s)”
I tried setting it with setExtended2(“true”) and setExtended2(“True”) , hoping Sailpoint will do the String to Boolean conversion, but it is not working like this.

How can I set this extended attribute with a Boolean value?

Thanks,
Nakul

Instead of using the setExtended methods, try using setAttribute:

setAttribute(“myAttributeName”, true)

1 Like