Thanks for getting back and glad that it works.
If you do not mind I like to give you some additional tips.
First of all it is no problem being new to something and asking questions, not at all. We
welcome all new users :-) But there are reasons behind my comments on how and where to
post. It keeps the forums clean and topics well... on topic and thus easier for others to
find if they use search functionality.
Secondly, us asking for a fully integrated unittest instead of just some code and a
processdefinition also has a reason. It is the most explicit way of stating what you do
and expect and we can fairly easily run it on our side and see/debug what happens if it
really is a bug in jBPM.
Thirdly, regarding posting something, many forums (including this one) have options for
putting in code/xml. In this forum use the [c o d e] tag (without spaces, also see the
preview button) The # instead of < is not needed then.
Regarding debugging, that is also something you can do yourself and seeing the
processinstance is null is something can see then yourself.
And last but not least, if you solve something, it is good practise to not also report
back that you solved it, but e.g. also confirm that we were right, or that it was another
issue and than also state what that other issue is. Others can learn from that.
What I still do not get (talking about confusion ;-)) is what you mean by
anonymous wrote : I do understand my execution is ending. But not able to find it ...
And that you say it works with a java task, but what you post *has* a java task...
And for everybody: If there are no wait states in your processdefinition, it is ended when
the startProcessInstanceXXX returns. When it ends, jBPM removes it from the active list
and put it in the history, so you cannot retrieve variables, or whatever anymore based on
id's. The 4.1 release will, instead of throwing an exeption, tell you the instance
cannot be found.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251851#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...