RE: [werkflow-user] correlation fixes
Kristofer Eriksson <[email protected]> Thu, 18 Dec 2003 10:46:05 +0100
| Newsgroups | gmane.comp.java.werkflow |
|---|---|
| Message-ID | <[email protected]> |
Mark, superb, great work /Kristofer -----Original Message----- From: Mark H. Wilkinson [mailto:[email protected]] Sent: Mittwoch, 17. Dezember 2003 19:41 To: [email protected] Subject: [werkflow-user] correlation fixes I've checked in some work-in-progress to get message correlation working, at least to the point where the unit tests I'd written now pass. I also noticed that binding of messages to named attributes wasn't working as I expected: given the following: <transition id="transition two" type="and"> <message id="myMsg" type="normal.msg"> <java:correlator test="myMsg.payload.equals( bob )"/> </message> <task> <jelly:action> ${myMsg.touch()} case ${caseId} ... I'd expect the received message to be bound to the 'myMsg' attribute when executing both the correlator expression and when executing the task. Up to now this has only been the case for the correlator, and the action always got the message in the 'message' attribute. werkflow will now bind the message to the named attribute in both the correlator and the action. -Mark. _______________________________________________ werkflow-user mailing list [email protected] http://lists.codehaus.org/mailman/listinfo/werkflow-user