Patrick,
This happens in 3.0.x versions because the way the parser works. This
problem is solved in 3.1 (trunk). A workaround in 3.0.x is to quote what
you want to preserv as a String:
[then]Task FORWARD "{fwd}"=task.put("FORWARD","{fwd}");
Task FORWARD "Joseph Peter,jpeter,approve"
[]s
Edson
Patrick Santana wrote:
Hello Guys,
I have a .dsl file that contains this:
[then]Task FORWARD {fwd}=task.put("FORWARD","{fwd}");
In my rule file I have:
Task FORWARD Joseph Peter,jpeter,approve
obs.: task is a hash.
After the rule run correct, I got this result inside the hash task.
"Joseph Peter , jpeter , approve". I mean, some spaces were added.
Does anybody know why I have this behavior?
Thank you all,
____________________
Patrick Santana
patrick(a)digitalbio.be
------------------------------------------------------------------------
Now you can scan emails quickly with a reading pane
<
http://us.rd.yahoo.com/mail/uk/taglines/default/nowyoucan/reading_pane/*h...;.
Get the new Yahoo! Mail
<
http://us.rd.yahoo.com/mail/uk/taglines/default/nowyoucan/reading_pane/*h...;.
------------------------------------------------------------------------
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
Software Engineer - JBoss Rules Core Developer
Office: +55 11 3124-6000
Mobile: +55 11 9218-4151
JBoss, a division of Red Hat @
www.jboss.com