[rules-users] Possible bug in Drools Flow: Globals declared at EventWait node are not persisted to the rf file.

Ajay.Gautam at rbs.com Ajay.Gautam at rbs.com
Fri Jun 5 10:09:57 EDT 2009


PS: Is this the corrent list for rules flow users? Is rules flow an active project?

This might be a bug:

Globals declared Constraints for an Event Wait node don't show up in the headers section of the rf file.

Using Drools runtime 5.0.0 with Eclipse 3.4.1 on Win XP.

Steps:
1. Create a new rules flow file using the "RuleFlow file" wizard.
2. Add an Event Wait and an End node. Create connections between them.
3. Save the file. Open the rf file in another editor (such as vi). Analyze the structure.
4. From the event wait node's properties, open the constraints -> global section. Add "global String testStr"
5. Save the file. Open the rf file in another editor (such as vi). Notice that the global variable is missing from the file.
6. Perform the same steps, but use an Action node instead of an Event Wait node. Notice that testStr is added correctly to the header / globals section of the rf file.

Could anyone else pls confirm that this is a real issue.

Thanks

Ajay Gautam
Programmer/Analyst
RBS Global Banking & Markets
600 Washington Blvd, Stamford, CT 06901
Office: +1 203 897 6491





*****Please note that my email address may have changed. For all
future correspondence, please use this address*****


********************************************************************This
message (including any attachments) is confidential and/or
privileged. It is to be used by the intended recipients only. If
you have received it by mistake please notify the sender by return
e-mail and delete this message from your system. Any unauthorized
use or dissemination of this message in whole or in part is
strictly prohibited. Please note that e-mails are inherently
insecure and susceptible to change. The Royal Bank of Scotland
Group, plc ("RBS") and its US subsidiaries, and affiliates and
subsidiary undertakings, including but not limited to, RBS plc New
York and Connecticut Branches, RBS Securities Inc., ABN AMRO Bank
N.V. New York and Chicago Branches and, ABN AMRO Incorporated,
Citizens Financial Group, Inc. and RBS Citizens, N.A., shall not be
liable for the improper or incomplete transmission of the
information contained in this communication or Attachment nor for
any delay in its receipt or damage to your system. RBS does not
guarantee that the integrity of this communication has been
maintained nor that this communication is free of viruses,
interceptions or interference. RBS and its subsidiaries and
affiliates do not guarantee the accuracy of any email or
attachment, that an email will be received or that RBS or its
affiliates and subsidiaries will respond to an email.

RBS makes no representations that any information contained in this
message (including any attachments) are appropriate for use in all
locations or that transactions, securities, products, instruments
or services discussed herein are available or appropriate for sale
or use in all jurisdictions, or by all investors or counterparties.
Those who utilize this information do so on their own initiative
and are responsible for compliance with applicable local laws or
regulations.********************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090605/43a1c858/attachment.html 


More information about the rules-users mailing list