Department manager can not be changed

Hallo Community,

The HR department managers sync is giving the following error ([810222] Error running script 'Format_Person_UID_PersonHead'.
[0] The entry of Lastname, Firstname (Username) as manager would result in circular nesting.) regarding some department managers that apparently can not be assigned correctly.

I checked the department in SAP and the user is only assigned to that department as a manager and his account 'Person object' is also located there. 

I don't understand what the problem is, since some managers are assigned similarily without issues and no 'circular nesting' errors are triggered.

I would be glad if I could get some help to fix this issue.

Best regards

Parents
  • I assume you created a custom value template at the column Person.UID_PersonHead that is taking the UID_PersonHead from the column Department.UID_PersonHead for the department assigned to the person (Person.UID_Department).

    So, when you change the manager of the department, the system detects that for some people, you would create a circle in the direct manager hierarchy of the persons and therefore throws this error.


Reply
  • I assume you created a custom value template at the column Person.UID_PersonHead that is taking the UID_PersonHead from the column Department.UID_PersonHead for the department assigned to the person (Person.UID_Department).

    So, when you change the manager of the department, the system detects that for some people, you would create a circle in the direct manager hierarchy of the persons and therefore throws this error.


Children