Robert de Lorimier [https://community.jboss.org/people/r_delorimier] created 
the discussion

"Re: JBPM 5: Workflow not leaving embedded sub process"

To view the discussion, visit: https://community.jboss.org/message/789119#789119

--------------------------------------------------------------
What you are describing is different from what I am seeing. You can follow the 
path I am taking in the workflow I appended above to see how the tasks are 
related. In my test I am doing this set of tasks and seeing which tasks are 
still reserved afterwards. The ones I am marking bold should not still be there:

1. Start Workflow1. Submit for Approval
2. Modify Rule

2. Submit for Approval1. Modify Rule
2. Approve Rule
3. Reject Rule

3. Reject Rule1. Modify Rule
2. Submit Rule

4. Submit for Approval1. Modify Rule
2. *Approve Rule* *- orphan*
3. Reject Rule
4. Approve Rule 

5. Modify Rule1. *Approve Rule - orphan*
2. *Reject Rule* *- orphan*
3. *Approve Rule* *- orphan*
4. Submit for Approval
5. Modify Rule

6. Submit for Approval1. *Approve Rule* *- orphan*
2. *Reject Rule* *- orphan*
3. *Approve Rule - orphan
*
4. Modify Rule
5. Approve Rule
6. Reject Rule*
*

7. Approve Rule1. *Reject Rule* *- orphan*
2. *Approve Rule* *- orphan*
3. *Modify Rule* *- orphan*
4. *Approve Rule* *- orphan*
5. *Reject Rule* *- orphan*


When I check to see if the process instance is complete, it is not. Even the 
tasks in the subprocess are not being made not active, when I set the end node 
in the subprocess to terminate. You had mentioned that all tasks need to be 
complete or otherwise not active, so I am guessing this is why the process 
instance is still active. What would be the best approach to make the orphaned 
tasks not active? Any help would be appreciated.
--------------------------------------------------------------

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

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

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to