Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] replied 
to the discussion

"JBPM-2856 delete sub process instance after it ends"

To view the discussion, visit: http://community.jboss.org/message/543065#543065

--------------------------------------------------------------
Hi,

I just took a look at your patch and I am not completely sure we should solve 
it like this.

In general deleteProcessInstance method of DBSession should take care of 
deleting remaining subprocess instances. But the problem is in 
SubProcessActivity that within signal methods is resetting subProcessInstance 
field.
Simple comment that line will make execution being properly removed.

What do you think about it?

Cheers,
Maciej

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/543065#543065]

Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to