Symptom:
I assigned a provisioning role to a user with a SAP account template with weak synchronization enabled and modified the email attribute. As a result, a duplicate email entry was added to the SAP account. One value contains the modifications, but the other value does not.
Example: Modifying the Email attribute on a SAP Account Template with Weak Synchronization Enabled
This example shows what happens when you modify the email attribute on SAP account template with weak synchronization enabled.
In this example, the account template has the following rule:
Email address |
Default |
Description |
home |
---|---|---|---|
%AC%@company.com |
true |
Use during business hours |
false |
As a result, Bob Jones has the following email address:
bobjones@company.com,default,Used during business hours,not_home
If you change the description capability attribute and update the template, for example,
%AC%@company.com,default=yes,description=Use during EST business hours,home=no
Bobs account now has two email addresses, one with the modified attribute and one without:
bobjones@company.com,not_default,Used during business hours,not_home bobjones@company.com,default,Used during EST business hours,not_home
Solution:
Weak synchronization only adds capabilities to accounts, and does not remove them, therefore this behaviour is expected when you use weak synchronization and modify the email attribute. If you want to continue to use weak synchronization when modifying the email attribute on SAP account templates, consider using the SAPEmailWeakSyncConverter. The converter prevents the addition of duplicate email entries to SAP accounts when you modify the email attribute and use weak synchronization.
The SAPEmailWeakSyncConverter is disabled by default. To enable the convertor, edit the SAP Connectors Connector.xml file.
Note: For more information about overriding a connector, see Connector Configuration File in the Java CS Implementation Guide.
To enable the SAPEmailWeakSyncConverter
jcs_home/conf/override/sap/
<entry key="FLEXI_STR:SAPEmail"> <bean class="com.ca.jcs.sap.converter.SAPEmailWeakSyncConverter"></bean> </entry>
<entry key="FLEXI_STR:SAPEmail"> <bean class="com.ca.jcs.sap.validator.SAPEmailAttributeValidator"></bean> </entry>
The convertor is enabled and duplicate email entries are not added to SAP accounts when you modify the email attribute SAP account templates and you use weak synchronization.
Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |