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
devel:documentation:synchronization:dev:contract-slice-sync [2019/10/01 07:45]
doischert
devel:documentation:synchronization:dev:contract-slice-sync [2020/04/06 18:25] (current)
kubicar [Fields for sync contractual relationship mapping]
Line 44: Line 44:
  
 ==== HR processes proper ==== ==== HR processes proper ====
 +
 +<note important>**In new IdM installation** must **HR processes be running at least once manually or by trigger**. Without this, sync will be not able **find HR tasks** (warning will be logged in sync log)!</note>
 +
 [[devel:documentation:hr_processes|HR processes]], simply put, ensure the correct state of identity depending on the state of their contractual relationships. Because we need to evaluate the status of contractual relationships as a whole (to a given identity), it is not possible to trigger HR processes during the synchronization of each contractual relationship. Therefore, no HR processes are executed during synchronization but only after it ends. [[devel:documentation:hr_processes|HR processes]], simply put, ensure the correct state of identity depending on the state of their contractual relationships. Because we need to evaluate the status of contractual relationships as a whole (to a given identity), it is not possible to trigger HR processes during the synchronization of each contractual relationship. Therefore, no HR processes are executed during synchronization but only after it ends.
  
Line 59: Line 62:
   * **Contract code** - Code of the parent contract. This `String` value represents relation between all slices for the same contract.   * **Contract code** - Code of the parent contract. This `String` value represents relation between all slices for the same contract.
   * **Valid from of slice** - Defines time from which the slice is valid. Valid till of slice is computed automatically (by the validity of the next slice) after save. Output value from attribute transformation must be 'org.joda.time.LocalDate' (or String in the format `yyyy-MM-dd`).   * **Valid from of slice** - Defines time from which the slice is valid. Valid till of slice is computed automatically (by the validity of the next slice) after save. Output value from attribute transformation must be 'org.joda.time.LocalDate' (or String in the format `yyyy-MM-dd`).
-  * **Owner** - Relation owner. Must be identity in IdM. This field is required for every relation. Output from attribute transformation can be:+  * **Owner** - Relation'owner, it must be an existing identity in IdM. This field is required for every relation. Output from attribute transformation can be:
       * ID of IdM identity in String or UUID format.       * ID of IdM identity in String or UUID format.
       * Username of IdM identity in String.        * Username of IdM identity in String. 
-  * **Main** - Define if the contract is the main contracts (among all contracts for the identity). Output from attribute transformation must be Boolean.+  * **Main** - Defines if the contract is the main contract (among all contracts for the identity). Output from attribute transformation must be Boolean.
   * **State** - State of contract. Output from attribute transformation must be enumeration ContractState or String representation for this enumeration (DISABLED, EXCLUDED) (see below for more details).   * **State** - State of contract. Output from attribute transformation must be enumeration ContractState or String representation for this enumeration (DISABLED, EXCLUDED) (see below for more details).
   * **Position** - String representation of contract. Typically name of contract.   * **Position** - String representation of contract. Typically name of contract.
Line 72: Line 75:
   * **Description** - String for the description of the relation.   * **Description** - String for the description of the relation.
  
 +Link to SQL details for making the Views: [[https://wiki.czechidm.com/priv/time_slices#mssql_update_of_sql_query_and_extra_information]]
 ==== Guarantees field ==== ==== Guarantees field ====
 List of leaders, directly linked to the contractual relation. Linked leader must exists in IdM. List of leaders, directly linked to the contractual relation. Linked leader must exists in IdM.
  • by doischert