Re: [rules-users] How do I configure the constraints for a Split node in Drools Flow to test the value of a process variable?

2009-10-20 Thread Alan . Gairey
re tests. ;) Thanks again for your help, Alan Kris Verlaenen Sent by: rules-users-boun...@lists.jboss.org 19/10/2009 16:43 Please respond to Rules Users List To Rules Users List , alan.gai...@tessella.com cc Subject Re: [rules-users] How do I configure the constraints for a Split node in

Re: [rules-users] How do I configure the constraints for a Split node in Drools Flow to test the value of a process variable?

2009-10-19 Thread Kris Verlaenen
Alan, Your code constraints should look something like: return "error".equals(status); Do you check for errors after loading a process? Basically, errors should be detected when trying to parse the given process because the constraints could not be compiled (at least, that happened when I tri

[rules-users] How do I configure the constraints for a Split node in Drools Flow to test the value of a process variable?

2009-10-19 Thread Alan . Gairey
I have a requirement for a simple rule flow containing a "status" process variable; a work item sets the value of this variable via its Result Mapping. Following the work item is an XOR Split node, which can go to one of two following nodes, depending on the value of the status process variable