Filtration by null

Hi there,
How do I filter the org chart to exclude anyone with no title (job title)?
Also, if I want to filter out users with no Department, but not the CEO (he doesn’t have a department, but I still want him to show).
Thanks,
Jess

Hi @jwong,

To exclude all employees with no Job Title please use the following filtration rule:

function(itemData){
  return itemData["Title"] != "";
} 

You can use || and && operators to combine conditions. So, to include users with the department specified and an additional user with no department you can use an expression like this:

function(itemData){
  return (itemData["Department"] != "" || itemData["PreferredName"].contains("Name"));
}

You can find more information about filtration in Plumsail Org Chart here.

Anna Dorokhova
Plumsail Team