[jboss-user] [JBoss jBPM] - Re: Persistance

maxip do-not-reply at jboss.com
Tue Aug 1 08:59:04 EDT 2006


OK

so i deployed a process definition by the designer (deployment was successfull)

but i cant find any process definition

anonymous wrote : public static void main(String[] args) {
  | 		JbpmConfiguration.getInstance().createSchema();
  | 		JbpmContext jbpmContext = JbpmConfiguration.getInstance().createJbpmContext();
  | 		
  | 		try { 
  | 			GraphSession graphSession = jbpmContext.getGraphSession();
  | 			
  | 			// deployProcessDefinition(graphSession);
  | 			
  | 			findAllProcessDefinitions(graphSession);
  | 			
  | 			
  | 			//ProcessDefinition processDefinition = findProcessDefinitionsFromServer("SimpleDefinition1", graphSession);
  | 			//System.out.println(processDefinition.getId());
  | 		}
  | 		finally {
  | 			jbpmContext.close();
  | 		}
  | 	}
  | 
  | public static void findAllProcessDefinitions(GraphSession graphSession) {
  | 		System.out.println(graphSession.findAllProcessDefinitions());
  | 	}
  | 

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

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



More information about the jboss-user mailing list