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
Next revision Both sides next revision
devel:documentation:synchronization:dev:tree-sync [2019/02/14 14:49]
kotisovam part moved to admin guide
devel:documentation:synchronization:dev:tree-sync [2020/06/11 06:50]
tomiskar
Line 56: Line 56:
  // Get value from parent attribute  // Get value from parent attribute
  def parentValue = account.getAttributeByName("parent").getValue();  def parentValue = account.getAttributeByName("parent").getValue();
- // Get value from ID attribute 
- def uidValue = account.getAttributeByName("id").getValue(); 
    
  // Root is account, where is parent value is null  // Root is account, where is parent value is null
Line 75: Line 73:
  
 <note warning>Leaving **uid** attribute and **parent** reference equal makes the synchronization loop infinitely - take care while setting the root computation script.</note> <note warning>Leaving **uid** attribute and **parent** reference equal makes the synchronization loop infinitely - take care while setting the root computation script.</note>
 +
 +===== Actions after end of sync =====
 +
 +<note important>Actions executes after end of sync are **not executed** when user **canceled sync**!</note>
 +
 +==== Automatic roles ====
 +
 +Recalculation of automatic roles is skipped during sync. Recalculation of automatic roles can be (**should be**) correctly started after the end of the sync. This can be ensured by the property '**After end, start the automatic role recalculation**' on the detail of sync configuration. Automatic roles are recalculated for synchronized tree nodes, where tree structure (parent node) was changed.
 +
 +
  • by apeterova