[jboss-user] [jBPM] - Re: JBPM 5: Workflow not leaving embedded sub process

Robert de Lorimier do-not-reply at jboss.com
Mon Jan 7 20:11:59 EST 2013


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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130107/9ddb1a1e/attachment.html 


More information about the jboss-user mailing list