Boolean attribute sync

We have account attribute which is of boolean type. While trying to sync it with identity attribute looks like it’s running sync even if the values are same on both attributes.

I believe this is happening because of difference of attribute type between identity and account attribute. I tried to change account attribute to string but it errors out at the time of sync with below error

["openconnector.ConnectorException: Exception occurred. Error message - java.lang.ClassCastException: class java.lang.String cannot be cast to class java.lang.Boolean (java.lang.String and java.lang.Boolean are in module java.base of loader \u0027bootstrap\u0027)"]

Not sure if anyone was able to resolve this by setting any type on identity attribute or any other way.

Is the identity attribute a string and the account attribute a boolean? What values can the identity attribute hold? Are they all lower case or capitalized (i.e. “True” and “False”, or “true” and “false”)?

Identity attribute can only have one type AFAIK string. You can set it to date but nothing else apart from these 2.
They hold same value but in different attribute type in backend (which I cannot see).

Check attributeValue and oldValue. They are same and still sync getting triggered.

I hate to do this, but you should open a support ticket. This may be an issue with the connector, and support is better positioned to handle connector specific issues.

yeah I have opened support ticket. Thanks @colin_mckibben .

Hi Chirag,

Were you able to find a solution to this with support? We are encountering the same exact issue with an identity attribute set to “true” or “false” and a boolean account attribute in Salesforce.


Nope, The case is still open and going on.