[jboss-user] [JBoss jBPM] - jBPM 4 - Conceptual questions regarding the IdentityService

2009-06-11 Thread DrBr
Hello, this is more of a conceptual question rather than trying to dig through the API :) I know I can create tasks, assign them to users and groups and then query for those. So, using my application-centric user-model, I can assign tasks to my users and groups without jBPM knowing anything ab

[jboss-user] [JBoss jBPM] - Re: Finding outgoing transitions - jBPM 4

2009-06-09 Thread DrBr
Ok, I found a solution, here it is if anybody is interested: | Configuration configuration = new Configuration(); | ProcessEngine processEngine = configuration.buildProcessEngine(); | Environment env = ((EnvironmentFactory)processEngine).openEnvironment(); |

[jboss-user] [JBoss jBPM] - Re: Finding outgoing transitions - jBPM 4

2009-06-08 Thread DrBr
Thanks kukeltje, however I believe that the TaskService can only give me the list of pending tasks that have previously been assigned to a particular user, correct? What I'm interested to find out is the list of the available outgoing transition of the currently active (or any...) activity of m

[jboss-user] [JBoss jBPM] - Finding outgoing transitions - jBPM 4

2009-06-08 Thread DrBr
Hello, I get a reference to my process instance as: ProcessInstance pi = executionService.findProcessInstanceById("__MY_ID_HERE__"); First a confirmation... Is it correct to assume that I get the current state on which my process is at using: pi.findActiveActivityNames() ? I understand that in