hello every, I am a new jbpm comer, and reading the userguide page by page. howevery, i tried my best but could not understand the meaning of "asynchronous continuations", could any one help me about it and examples are great. here is my simplest example:
| <?xml version="1.0" encoding="UTF-8"?> | <process-definition name="sub"> | <start-state name="start"> | <transition to='wait' /> | </start-state> | <state name="wait" async='true' > | <transition to='end' /> | </state> | <end-state name="end" /> | </process-definition> | | ProcessInstance processInstance = | new ProcessInstance(processDefinition); | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | jbpmContext.deployProcessDefinition(processDefinition); | jbpmContext.save(processInstance); | ///////////////////////////////// | Token token= processInstance.getRootToken(); | System.out.println(token.getNode().getName());//START | token.signal(); | System.out.println(token.getNode().getName());//WAIT | token.signal(); | System.out.println(token.getNode().getName());//END | what is the different with/without " async='true' " View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984397#3984397 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984397 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
