Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
devel:documentation:synchronization:dev:contract-slice-sync [2019/08/13 13:26] doischert [Fields for sync contractual relationship mapping] |
devel:documentation:synchronization:dev:contract-slice-sync [2019/08/13 14:06] doischert |
||
---|---|---|---|
Line 2: | Line 2: | ||
{{tag> sync contract slice}} | {{tag> sync contract slice}} | ||
- | <note tip> | + | <note tip> |
- | < | + | < |
===== What is time slice of contractual relationship ===== | ===== What is time slice of contractual relationship ===== | ||
- | <note tip> | + | <note tip> |
===== Actions after end of sync ===== | ===== Actions after end of sync ===== | ||
- | <note important> | + | <note important> |
==== Select current contract slice ==== | ==== Select current contract slice ==== | ||
- | Before HR process | + | Before HR process |
==== HR processes ==== | ==== HR processes ==== | ||
- | [[devel: | + | [[devel: |
- | HR processes can be (**should be**) correctly started after the end of the sync. This can be ensured by the property `After end, start the HR processes` on the detail of sync configuration. If is this property ticked, then HR processes ' | + | HR processes can be (**should be**) correctly started after the end of the sync. This can be ensured by the property `After end, start the HR processes` on the detail of sync configuration. If this property |
==== Automatic roles ==== | ==== Automatic roles ==== | ||
Line 30: | Line 30: | ||
Bellow is an example of contractual relationship mapping using slices. This is only an example; in general, slices must be mapped in the same way that contracts are but must have two extra attributes: "Valid from of slice" and some sort of "Slice ID". | Bellow is an example of contractual relationship mapping using slices. This is only an example; in general, slices must be mapped in the same way that contracts are but must have two extra attributes: "Valid from of slice" and some sort of "Slice ID". | ||
- | | + | * **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 that is slice valid. Valid till of slice is computes automatically (by validity of next slice) after save. Output value from attribute transformation must be ' | + | * **Valid from of slice** - Defines time from that is slice valid. Valid till of slice is computes automatically (by validity of next slice) after save. Output value from attribute transformation must be ' |
- | * **Owner** - Relation owner. Must be identity in IdM. This field is required for every relation. Output from attribute transformation can be: | + | * **Slice ID** - ID of the time slice, it is often transformed by combining " |
+ | * **Owner** - Relation owner. Must be 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** - Defines |
- | * **State** - State of contract. Output from attribute transformation must be enumeration ContractState or String representation for this enumeration (DISABLED, EXCLUDED) (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. |
- | * **Guarantees** - List of leaders, directly linked | + | * **Guarantees** - List of superiors, directly linked |
- | * **Work position** - Define | + | * **Work position** - Defines |
- | * **Valid from of contract** - Validity for the contractual relationship. Output value from attribute transformation must be ' | + | * **Valid from of contract** - Validity for the contractual relationship. Output value from attribute transformation must be ' |
- | * **Valid till of contract** - Validity for the contractual relationship. Output value from attribute transformation must be ' | + | * **Valid till of contract** - Validity for the contractual relationship. Output value from attribute transformation must be ' |
- | * **Externe** - If is the contractual relationship for externe | + | * **Externe** - If the contractual relationship for identity |
- | * **Description** - String for description the relation. | + | * **Description** - String for description the relation. |
- | * **Slice ID** - ID of the time slice, it is often transformed by combining " | + | |
==== Guarantees field ==== | ==== Guarantees field ==== | ||
- | List of leaders, directly linked | + | List of superiors, directly linked |
Output from attribute transformation can be: | Output from attribute transformation can be: | ||
- | * Username of leader | + | * Username of superior |
- | * Id of leader | + | * Id of superior |
- | * List of usernames (List< | + | * List of usernames |
- | * List of Ids (List< | + | * List of Ids of superiors |
- | * Null value. If is value not defined and in sync configuration | + | * Null value. If the value is not defined and in sync the configuration |
- | If some leader | + | If some leader |
< | < | ||
Line 67: | Line 68: | ||
==== Work position field ==== | ==== Work position field ==== | ||
- | Define | + | Defines a link to some tree node. Generally defines |
Output from attribute transformation can be: | Output from attribute transformation can be: | ||
- | * Id of tree node (UUID or String). | + | * Id of a tree node (UUID or String). |
- | * Code of tree node. Node by code will be searching | + | * Code of a tree node. Node by code will be searched |
- | * Null value. If is value not defined and in sync configuration | + | * Null value. If the value is not defined and in sync the configuration |
- | If node will not found. Then will be synchronization item marked as ' | + | If a node is not found the synchronization item will be marked as ' |
< | < | ||
Line 86: | Line 87: | ||
</ | </ | ||
<note important> | <note important> | ||
- | When isn' | + | If a work-position attribute |
==== State field ==== | ==== State field ==== | ||
- | State of contract. Output from attribute transformation must be enumeration ContractState or String representation for this enumeration. | + | State of contract. Output from the attribute transformation must be enumeration ContractState or String representation for this enumeration. |
- | ContractState | + | ContractState |
* **[[..: | * **[[..: | ||
* **[[..: | * **[[..: | ||