[jboss-user] [JBoss jBPM] - Re: Listing Active Taskings on a Workflow

2009-02-26 Thread numbers2
Looks like my terminology was a little off, what i'm actally looking for a listing of Process Instances - but most of the functions I've gone through are singular. Is it even possible to get this listing from the ExecutionContext or should I approach this another way? Thanks. View the

[jboss-user] [JBoss jBPM] - Re: Listing Active Taskings on a Workflow

2009-02-26 Thread numbers2
Neverminds I got it. For anyone interested in this in the //This gets the Process Definition ID of the process that is running long id = executionContext.getProcessDefinition().getId(); //This grabs a list of all the process instances List pis =

[jboss-user] [JBoss jBPM] - Listing Active Taskings on a Workflow

2009-02-25 Thread numbers2
Hi everyone, I'm currently trying to list out all active tasks a workflow has upon entering a node. I had played around with setting an Action on the node, and using executionContext.getJbpmContext().getTaskList() but it's always 0. Any suggestions? Thanks. PS - background for this is that