[rules-users] Converging gateway

Salina Fung/UFL - ICIL salina at icil.net
Sat Mar 5 06:38:41 EST 2011


I have a flow as attached.

Before the Exit node, I have the Converging gateway with type = 'AND',
and before that, I have 2 human task:

1. Receive Cargo (Task 3)
2. Request for Approval

I don't understand why when I complete the Receive Cargo Task, I get the following
debug message in Eclipse Console, why I got the 'Request for Approval' task exit debug
message?

<<quote>>
Task completed 3
[2011:03:64 19:03:229:debug] Message receieved on client : EventTriggerResponse
[2011:03:64 19:03:230:debug] Arguments : [org.drools.task.event.EventPayload at 1c52ac68]
Task completed 3
[2011:03:64 19:03:231:debug] Message receieved on client : GetTaskResponse
[2011:03:64 19:03:231:debug] Arguments : [org.drools.task.Task at 1524adef]
[2011:03:64 19:03:245:debug] Message receieved on client : GetTaskResponse
[2011:03:64 19:03:245:debug] Arguments : [org.drools.task.Task at 1524adef]
[2011:03:64 19:03:264:debug] Message receieved on client : GetTaskResponse
[2011:03:64 19:03:264:debug] Arguments : [org.drools.task.Task at 1524adef]
[2011:03:64 19:03:267:debug] Message receieved on client : GetContentResponse
[2011:03:64 19:03:267:debug] Arguments : [org.drools.task.Content at fbfe1674]
Exiting 'Request for Approval' - status = [ON_HOLD]
Exiting 'Request for Approval' - booking status = [ON_HOLD]
AFTER REQUEST FOR APPROVAL
Exiting from warehouse
AFTER WAREHOUSE
Hibernate: select processins0_.InstanceId as col_0_0_ from ProcessInstanceInfo processins0_ where ? in (select eventtypes1_.element from EventTypes eventtypes1_ where processins0_.InstanceId=eventtypes1_.InstanceId)
[2011:03:64 19:03:273:debug] Message receieved on client : GetContentResponse
[2011:03:64 19:03:273:debug] Arguments : [org.drools.task.Content at fbfe1674]
Hibernate: select workitemin0_.workItemId as workItemId7_0_, workitemin0_.creationDate as creation2_7_0_, workitemin0_.externalVariables as external3_7_0_, workitemin0_.name as name7_0_, workitemin0_.processInstanceId as processI5_7_0_, workitemin0_.state as state7_0_, workitemin0_.OPTLOCK as OPTLOCK7_0_, workitemin0_.workItemByteArray as workItem8_7_0_ from WorkItemInfo workitemin0_ where workitemin0_.workItemId=?
[2011:03:64 19:03:307:debug] Message receieved on client : GetContentResponse
[2011:03:64 19:03:307:debug] Arguments : [org.drools.task.Content at fbfe1674]
Hibernate: select workitemin0_.workItemId as workItemId7_0_, workitemin0_.creationDate as creation2_7_0_, workitemin0_.externalVariables as external3_7_0_, workitemin0_.name as name7_0_, workitemin0_.processInstanceId as processI5_7_0_, workitemin0_.state as state7_0_, workitemin0_.OPTLOCK as OPTLOCK7_0_, workitemin0_.workItemByteArray as workItem8_7_0_ from WorkItemInfo workitemin0_ where workitemin0_.workItemId=?

<end quote>>


Then if I complete the 'Request for Approval' task, no debugging message from the
exiting action of the task, but only the below, and the flow does not end?
<quoted>
[2011:03:64 19:03:306:debug] Message receieved on client : EventTriggerResponse
[2011:03:64 19:03:306:debug] Arguments : [org.drools.task.event.EventPayload at 1b2dd1b8]
Task completed 2
[2011:03:64 19:03:324:debug] Message receieved on client : EventTriggerResponse
[2011:03:64 19:03:324:debug] Arguments : [org.drools.task.event.EventPayload at 51cfc277]
Task completed 2
[2011:03:64 19:03:326:debug] Message receieved on client : EventTriggerResponse
[2011:03:64 19:03:326:debug] Arguments : [org.drools.task.event.EventPayload at 50a6023a]
Task completed 2
[2011:03:64 19:03:328:debug] Message receieved on client : GetTaskResponse
[2011:03:64 19:03:328:debug] Arguments : [org.drools.task.Task at 7972f798]
[2011:03:64 19:03:346:debug] Message receieved on client : GetTaskResponse
[2011:03:64 19:03:346:debug] Arguments : [org.drools.task.Task at 7972f798]
[2011:03:64 19:03:362:debug] Message receieved on client : GetTaskResponse
[2011:03:64 19:03:362:debug] Arguments : [org.drools.task.Task at 7972f798]
[2011:03:64 19:03:365:debug] Message receieved on client : GetContentResponse
[2011:03:64 19:03:365:debug] Arguments : [org.drools.task.Content at 37a4cf8d]

<<end quote>>


I did the reverse, complete 'Request for Approval' first, and then 'Receive cargo',
the same result.

I tried XOR, Discriminator, seems they are the same.  Please help


Thanks
Salina
-------------- next part --------------
A non-text attachment was scrubbed...
Name: actionFlow.rf
Type: application/octet-stream
Size: 10990 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/rules-users/attachments/20110305/261c9948/attachment.obj 


More information about the rules-users mailing list