Thanks!
I do understand my execution is ending. But not able to find it ... Let me send
you my jpdl file and code. My example code for Java task is working fine in the
same project ...
jpdl file
---------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------
Java code to start process...
---------------------------------------------------------------------------------------------------------------------------------------
public void intiateProcess(ValueInObj inputObj) {
try {
initialize();
deploymentId =
repositoryService.createDeployment().addResourceFromClasspath("us/nj/state/dhs/njkids/jbpm/casecreationtrial.jpdl.xml").deploy();
Map<String, Object> variables = new HashMap<String,
Object>();
variables.put("input", new Holder(inputObj));
processInstance =
executionService.startProcessInstanceByKey("casecreationtrial",variables);
String pid = processInstance.getId();
String out =
(String)executionService.getVariable(processInstance.getId(), "answer");
System.out.println("OUT Object ... "+out);
} catch(Exception e) {
System.out.println("Here I get exception ... "+e);
} finally {
try {
tearDown();
}catch (Exception e) {System.out.println("Exception in
finally ...");}
}
}
---------------------------------------------------------------------------------------------------------------------------------------
Thanks
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251824#4251824
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251824
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user