sscortan's answer helped me a lot and verified what i already guessed. ending a
processinstance and its taskinstances like that works fine. although i have a problem:
if i manually set an end date with setEnd(Date), the state of the taskinstance is left
untouched, which means it is still declared as open/signalling. so it never vanishes from
my "open tasks" list, which is bad!
what can i do to set it to ended without using the end() function or having proper
functions to set the boolian of isOpen/isSignalling to false?!
i can only think of manipulating the database directly with sql/hql, but that would be
really dirty!
thanks for your help!!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986167#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...