Hi, I’m attempting to Attribute Sync an identity attribute to the SalesForce SaaS connector account attribute “IsActive”. The account attribute comes OOB as “BOOLEAN”.
Identity attribute config (I was able to make a PUT request to change the type of this attribute to “boolean”, based on the docs I am unsure if this is valid, but it did not change the error I received):
{
"sources": [
{
"type": "rule",
"properties": {
"ruleType": "IdentityAttribute",
"ruleName": "Cloud Promote Identity Attribute"
}
}
],
"name": "salesforceIsActive",
"displayName": "SalesForce Is Active",
"standard": false,
"type": "boolean",
"multi": false,
"searchable": false,
"system": false
}
Before changing the identity attribute to a “boolean”, I additionally tried changing the casing to be either “true” or “True”, but nothing I have tried yet has gotten me around this error message from the connector on the provisioning attempt:
I see some somewhat related but very stale discussions about this issue – here in particular Boolean attribute sync, but no clear resolution, at least one that applies to me here. I’ve also opened a support ticket in the meantime, but throwing this out there in case anyone has any idea or has gone down this path before. I am aware that “Disable Account” for this source would also result in IsActive=False, however, we were hoping for the flexibility in disabling accounts that an attribute sync linked to a more dynamic identity attribute would provide.
It also seems worth noting that the “Account Creation” policy successfully allowed a boolean attribute to be written down to SalesForce, which implies to me that Attribute Sync would ideally be flexible in this regard too.
UPDATE:
I’ve now attempted adding an “UPDATE” account provisioning policy to the source in question. I get a different failure now, in that it says “PASSED” rather than “FAILED” but still gives back the same error. Below is the json I currently have for the provisioning policy:
{
"name": "Update Account",
"description": null,
"usageType": "UPDATE",
"fields": [
{
"name": "IsActive",
"transform": {
"type": "identityAttribute",
"attributes": {
"name": "salesforceIsActive"
}
},
"attributes": {},
"isRequired": false,
"type": "boolean",
"isMultiValued": false
}
]
}
