Add a fake user and make some users report to him

Hi,

I use org chart connected to AD but I need a few people to have a user which does not exist in AD, as their manager.
Therefore I should :

  1. create a fake user with js
  2. create a filter for “a few people”
  3. change the manager for those “few people”

I know about the 2nd step

What about the 1st step ?
And what about the 3rd step ?
I’m trying with something like:

function(itemData){
if (itemData[“WorkEmail”].contains("[email protected]") )
{
itemData[“Manager”] = “anothername.anothersurname”
}
}

Hi,
Thank you for your message.

Unfortunately, it is not supported. But if you provide additional information about your case, maybe we can offer you another solution for your issue.

Best regards
Evgeniy Kovalev
Plumsail Team