JBoss Community

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

created by dokkis in jBPM - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in jBPM at Community