[jboss-jira] [JBoss JIRA] Created: (JBRULES-2550) Process doesn't end when it reaches End.

Alexander Sydorenko (JIRA) jira-events at lists.jboss.org
Wed Jun 16 06:26:46 EDT 2010


Process doesn't end when it reaches End.
----------------------------------------

                 Key: JBRULES-2550
                 URL: https://jira.jboss.org/browse/JBRULES-2550
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 5.1.0.M1
            Reporter: Alexander Sydorenko
            Assignee: Mark Proctor
            Priority: Critical


I have a simple flow which includes some events. Main flow has Event Wait node and End node. When i get event I update session and Event Wait completes and reaches End node but process doesn't end, it remains active. I found a workaround - End node with Terminate=true. But it's not good for many situations, i have to add terminating End nodes to such flows and add some logic to check if all other paths ended...
Is it expected behavior?

Documentation is vague:
An End node can be terminating for the entire process (default) or just for the path. If the process is terminated, all nodes that are still active (on parallel paths) in this ruleflow are cancelled. Non-terminating End nodes are simply ends for some path, while other parallel paths still continue.

It's logical to expect process to end when all parallel paths end. But it doesn't end even with only one path!



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list