Project

General

Profile

Actions

Task #1008

closed

Support manually created root organization in the synchronization of tree nodes

Added by Alena Peterová almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
Vít Švanda
Category:
Synchronization
Target version:
Start date:
03/05/2018
Due date:
% Done:

100%

Estimated time:
Owner:

Description

We want to synchronize all organizations from the HR under one root organization, which was manually created.
Currently (7.8.2) this is not possible; the root organization must have an account on the system from which we synchronize the organizations.

Use-case:
We want to have all HR organizations under one root (e.g. "HR organizations"), because e.g.
  • we don't have an organization structure, there are 2000 organizations in HR and we want to add some automatic role to all organizations. Also it's slow to display all organizations when we click on the Organizations tab and there are 2000 roots.
  • we will manually manage organizations for externists, so we want to distinguish automatically created HR organizations and manually created externists' organizations.
Actions #1

Updated by Marcel Poul over 6 years ago

  • Priority changed from Normal to High

Once again we came across this situation on another project. 5 hospitals - each is one root manually created in CzechIdM.

Please provide a workaround at least, thanks.

Actions #2

Updated by Vít Švanda over 6 years ago

  • Target version set to Jade (8.1.0)
Actions #3

Updated by Vít Švanda over 6 years ago

  • Status changed from New to In Progress
Actions #4

Updated by Vít Švanda over 6 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Vít Švanda to Ondřej Kopr
Actions #5

Updated by Ondřej Kopr over 6 years ago

  • Assignee changed from Ondřej Kopr to Patrik Stloukal
  • % Done changed from 0 to 90
Actions #6

Updated by Petr Michal over 6 years ago

I tested this feature on project and I have two ideas for improvement.

1) In script for roots definition, I cannot call standard scripts, so code cannot be easily saved in Git.
2) Also it looks like that a necessary condition is to have information about parents in source system. Because I want to use manually created root, its possible, that I don't have information about them in source and I want to specify parents by a custom algorithm. But in script for roots I cannot set any script authorities. Because roots are counted before mapping, there are no more options.

Actions #7

Updated by Patrik Stloukal over 6 years ago

  • Assignee changed from Patrik Stloukal to Vít Švanda
  • % Done changed from 90 to 100

i tested this issue locally and i think this fix is working fine.

i had manually created tree (root and three children) and with this script organization was created where it was ment to... (i used substring on one of attribute from database)

Actions #8

Updated by Vít Švanda over 6 years ago

  • Status changed from Needs feedback to Resolved
Actions #9

Updated by Vít Švanda over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF