Tom, Thanks!
what could be the reason my execution is lost? It is immediate statement after i start process instance. Here is my code...
-----------------------------------------------------------------------------------
variables.put("input", new Holder(inputObj));
processInstance = executionService.startProcessInstanceByKey("myprocess",variables);
String pid = processInstance.getId();
System.out.println("PID is ... "+pid);
executionService.getVariableNames(pid);
String out = (String)executionService.getVariable(processInstance.getId(), "answer");
-----------------------------------------------------------------------------------
It throws exception on the last statement in the above code. I can very well get inside the method mentioned in jpdl with input arguments passing correctly.
I think Tom already pointed out why you get the error you get. It is not LOST is is ENDED (and therefore put in the history) as you can read in the *user* forum in some posts.
Besides that:
Use the correct forum:
http://catb.org/~esr/faqs/smart-questions.html#forum
and in this forum read:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=158610
(including my second post)
Use sensible headers (== no thread jacking)
http://catb.org/~esr/faqs/smart-questions.html#bespecific
Don't say it is an issue with jBPM if you do not understand it jBPM fully:
http://catb.org/~esr/faqs/smart-questions.html#id306810
This one is obvious
http://catb.org/~esr/faqs/smart-questions.html#noprivate
Try to interpret the answer:
http://catb.org/~esr/faqs/smart-questions.html#lesser
please......
Thread CLOSED unless it is about the java activity not using interfaces
Thanks!
I liked your kind signature though "Kind JBPM user ..." :)
:-) but I'm serious... Otoh, if you continue the initial post in the user forum, I'd be more than happy to elaborate a little.