I don't really understand what are you trying to do. Usually you should just end() a
taskInstance for the related token to continue to the next node in the graph, unless
it's not signalling. Looking at your code, you are loading the taskinstance and a
token independently. Then, you get the last available transition and signal the token to
get through it, because the while just goes through the transition list obtained before.
Maybe you can explain further the objective you are trying to accomplish to understand the
problem better.
Finally, if it helps anyway, I believe the error you are seeing is telling you that the
taskInstance you are trying to save doesn't have a related task, or the task assigned
as a property doesn't exist in the database.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060918#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...