cancel
Showing results for 
Search instead for 
Did you mean: 

Org Chart

gmorizio
Champ in-the-making
Champ in-the-making
Hi all,

we are looking for a workflow engine and we found this one really interesting and promising.
Reading the user guide we didn't find any reference to org chart, maybe we missed something, so, is there anyone who can explain how to configure Activiti to a common scenario using an og chart?

(something like this:

organization xyz
-department1
–subdepartment1a
—-employee1
—-employee2
—-employee3
–subdepartment1b
—-employee
-department2
—-employee
—-employee
-department3
—-employee

and so on…)

thanks

Giorgio
4 REPLIES 4

tombaeyens
Champ in-the-making
Champ in-the-making
Activiti has an identity component.  You could store that kind of information in it. 
But the main purpose of Activiti is executable processes. 
Can you explain the a relation between your request for org charts and executable processes?

gmorizio
Champ in-the-making
Champ in-the-making
hi Tom,
thank you for you reply,
maybe I'm wrong, but I think that a workflow should be organization aware, I do not really need a graphical representation of my organization but I need that my workflow knows my organization's structure:
with and org chart I can tell to the workflow engine who is the next people (i.e. sales manager, not someone phisically) to forward a message

what do you mean with
Activiti has an identity component
??

thanks,

Giorgio

tombaeyens
Champ in-the-making
Champ in-the-making
From outside of the process engine:
http://www.activiti.org/javadocs/org/activiti/engine/IdentityService.html

Inside delegation classes in 5.2 you could do
CommandContext.getCurrent().getSession(IdentitySession.class)or in 5.3
Context.getCommandContext().getSession(IdentitySession.class)But realize these are still not public api (there is .impl. in the package names)
So we don't give any stability guarantees.  So we might break those in the future.

It's a very flexible model where you can put users in groups.  Groups are hierarchical and can have a type.  You can have a set of groups for web authorization.  Or you could have a set of groups representing the company hierarchical structure. etc

gmorizio
Champ in-the-making
Champ in-the-making
ok, thanks! Smiley Wink