[jboss-user] [jBPM Users] - Unable to retrive the process instance

harish21 do-not-reply at jboss.com
Thu Dec 10 18:35:46 EST 2009


I am using the below code snippet to find all the instances associated with process defination name which is encounter. It is not working , the size of the list is zero. Am i using the wrong code? or is there any other code to retrive the instances...? please help me as iam new to jBPM

Thanks in advance



  | List<ProcessInstance> results = executionService.createProcessInstanceQuery()
  |                                        .processDefinitionId("encounter")
  |                                        .notSuspended()
  |                                        .page(0, 50)
  |                                        .list();
  | 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4270094#4270094

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4270094



More information about the jboss-user mailing list