Hi,
This bug has been reported to Kris. So I hope he can solve this problem.
Or I'm wrong ?
My problem was forEach with MessageEvent - the node id 8 cannot be
found.
Thanks Mila
-----Original Message-----
From: rules-users-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Mark Proctor
Sent: Wednesday, September 22, 2010 11:24 AM
To: rules-users(a)lists.jboss.org
Subject: Re: [rules-users] Ruleflow and events
On 22/09/2010 06:57, pieter wrote:
I am using drools version 5.1.0.M1
5.1.1 is out now, please try
that fitst.
Thanks
Pieter
On Wed, 2010-09-22 at 07:38 +0200, pieter wrote:
> Hi,
>
> I have a foreach node with a composite node nested inside it. In the
> composite node I have an exception handler defined and a fault node.
The
> exception handler calls
>
> context.getProcessEngine().signalEvent("MyFaultType",
> context.getVariable("MyFaultVariable"));
>
> However if the MyFaultType event node is nested in either the foreach
or
> composite node then the process engine can not find it. It only
finds
it
> if the event node is outside both the foreach and composite
node.
>
> Caused by: java.lang.IllegalArgumentException: Unknown node id: 57
> at
org.drools.workflow.core.impl.NodeContainerImpl.getNode(NodeContainerImp
l.java:46)
> at
org.drools.workflow.core.node.CompositeNode.getNode(CompositeNode.java:3
3)
> at
org.drools.workflow.core.node.ForEachNode.internalGetNode(ForEachNode.ja
va:102)
> at
org.drools.workflow.instance.impl.NodeInstanceImpl.getNode(NodeInstanceI
mpl.java:91)
> at
org.drools.workflow.instance.node.EventNodeInstance.getEventNode(EventNo
deInstance.java:66)
> at
org.drools.workflow.instance.node.EventNodeInstance.signalEvent(EventNod
eInstance.java:36)
> at
org.drools.workflow.instance.node.CompositeNodeInstance.signalEvent(Comp
ositeNodeInstance.java:219)
> at
org.drools.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEven
t(WorkflowProcessInstanceImpl.java:278)
>
> Is this expected behavior?
>
> I am trying to have the foreach loop continue after the fault is
raised.
>
> Thanks
> Pieter
>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users