Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
tutorial:adm:how_to_contract_sync [2022/12/21 08:52]
apeterova correlation attribute
tutorial:adm:how_to_contract_sync [2022/12/21 08:56]
apeterova
Line 5: Line 5:
 ===== What is synchronization of contractual relationships? ===== ===== What is synchronization of contractual relationships? =====
  
-The principle of this synchronization is the same as for identity synchronization. However, the aim of this synchronization is not a direct identity, but his/her contractual relationship. More on what constitutes a contractual relationship can be found [[:devel:dev:contractual-relationship|here]]. <note tip>Typically, one contractual relationship is equal to one contract in a company per identity.</note>+The principle of this synchronization is the same as for identity synchronization. However, the aim of this synchronization is not a direct identity, but his/her contractual relationship. More on what constitutes a contractual relationship can be found [[:devel:documentation:contracts|here]]. <note tip>Typically, one contractual relationship is equal to one contract in a company per identity.</note>
  
-<note>More on the sync of contractual relationships can be found here [[:devel:dev:synchronization:relation-sync|here]].</note>+<note>More on the sync of contractual relationships can be found [[:devel:documentation:synchronization:dev:relation-sync|here]].</note>
  
 ===== What you need before you start ===== ===== What you need before you start =====
Line 100: Line 100:
     return new LocalDate(attributeValue);     return new LocalDate(attributeValue);
 } }
 +
  
 </code> </code>
Line 117: Line 118:
     return new LocalDate(attributeValue);     return new LocalDate(attributeValue);
 } }
 +
  
 </code> </code>
Line 151: Line 153:
 <note>A correlation attribute for synchronizations of contracts should be typically the identifier, or some text attribute **that is not mapped to any entity attribute**. E.g. if you selected an attribute mapped to the Owner (identity), the result of synchronization would be an Unknown state and the following exception: <note>A correlation attribute for synchronizations of contracts should be typically the identifier, or some text attribute **that is not mapped to any entity attribute**. E.g. if you selected an attribute mapped to the Owner (identity), the result of synchronization would be an Unknown state and the following exception:
  
-eu.bcvsolutions.idm.core.api.exception.CorrelationPropertyUnsupportedTypeException: Entity type [eu.bcvsolutions.idm.core.model.entity.IdmIdentityContract] and property [identity] has wrong type. Only String or UUID is supported now.</note>+eu.bcvsolutions.idm.core.api.exception.CorrelationPropertyUnsupportedTypeException: 
 + 
 +Entity type [eu.bcvsolutions.idm.core.model.entity.IdmIdentityContract] and property [identity] has wrong type. Only String or UUID is supported now.</note>
  
 ==== Start sync ==== ==== Start sync ====
  • by apeterova