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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to