Org Chart

Marcus Fly
Tera Expert

Has anyone used the LDAP data in the system to have it generate a company ORG chart? I would like to see this as it would be a dynamic representation of the data.

1 ACCEPTED SOLUTION

Here's how I was able to hack this out on our instance:

https://INSTANCE.service-now.com/generic_hierarchy.do?sysparm_stack=yes&sysparm_attributes=layout=su...

layout= can be "sugiyama" for horizontal, or "sugiyamav" for vertical.
baseid= is the sys_id of the topmost parent record
record= is the table you want to generate the map from
title= is the fieldname to display on each node
parent= field to use for the relationship

The processor=OrgChartProcessor value was blowing up on our instance, with a 404 returned from the XML post. Removing that value, or setting it to processor=GenericHierarchyProcessor seemed to work just fine.

I suppose you could write your own processor (under System Definition) to return the appropriate GraphML for some arbitrary relationship diagram, but the link above has worked well for us.


View solution in original post

13 REPLIES 13

Paul Hardy
ServiceNow Employee
ServiceNow Employee

Heymguy I would be really interested to see if we can tap into the new KeyLines BSM (keylines_bsm_map.do) engine instead of legacy version (generic_hierarchy.do) to generate org charts...


marcguy
ServiceNow Employee
ServiceNow Employee

yes!, there's not a whole load of documentation on this new format yet, but will take a look. thanks, Marc


Hi,



did you have opportunity to look into this?



Regards,


Vishal Shah


abhishek_verma1
Giga Contributor

Is it possible, If we can take baseid from one table and apply the baseid on another table field?



Regards,


Abhishek Verma