Ok found the answear already by my own
when processInstance or taskInstance are ended they are still available
The taskInstances are deleted when the processInstance is deleted:
graphSession.deleteProcessInstance()
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196807#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...