[jboss-jira] [JBoss JIRA] Commented: (JBRULES-2802) Propagate process events to subprocess

Alex Alvarez (JIRA) jira-events at lists.jboss.org
Wed Dec 22 09:44:19 EST 2010


    [ https://issues.jboss.org/browse/JBRULES-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571959#comment-12571959 ] 

Alex Alvarez commented on JBRULES-2802:
---------------------------------------

The code to be fixed is located in  org.drools.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(String type, Object event). 

Either nodes of type SubProcessNode are loaded recursively to a certain depth (with this depth documented), or the entire graph is loaded and all nodes tested.



> Propagate process events to subprocess
> --------------------------------------
>
>                 Key: JBRULES-2802
>                 URL: https://issues.jboss.org/browse/JBRULES-2802
>             Project: Drools
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: drools-core (flow)
>    Affects Versions: 5.1.1.FINAL
>            Reporter: Jan Lisse
>            Assignee: Mark Proctor
>
> Currently events that are externally triggered using ProcessInstance.signalEvent() do not get propagated to subprocesses.
> For now i have to call session.getProcessInstances() iterate over the returned list of ProcessInstances and filter my subprocess from that list and finally call signalEvent() on the subprocess.
> It would be nice having automatical event propagation to subprocesses implemented. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list