2 Replies Latest reply on Feb 20, 2013 2:58 PM by raees

    Java API - Abort process don't terminate the associated tasks

    dokkis

      Hi to all,

      i'm new in jbpm community and i'm trying to use the Jbpm Java Api (with jBPM 5.4) for university thesis purpose.

      Why if i Abort a process instance the associated tasks don't terminate?

      How do I operato to terminate them? How can i delete task through Java API? Could i use the entity manager to access Task table or is there a best practice for this problem?

      Is this a bug of Jbpm Engine (why task should continue to stay active when the process instance is terminated? I think it's nonsense!).

      PS: sorry for my bad english but i'm italian.

       

      Thanks,

      Antonio