You may have to phrase your question more accurately in order to get an answer.
Do you want the rule to fire if some, or if all, "value" fields of the
AwaitingAction have some value? Once or for each AwaitingAction? Or do
you want it to fire once if at least one, or if all, AwaitingActions
of all AwaitingActionLists have a field "value" with some specific
value?
Also, would you consider inserting also the AwaitingAction objects as
facts, not only the AwaitingActionList?
-W
On 13/11/2013, Govind J. Parashar <Govind.Parashar(a)mastek.com> wrote:
HI,
I have a AwaitingActionList Object which has a awaitingActionsList Object
which has a ArrayList of AwaitingAction Objects. How can I iterate through
the ArrayList to get to check each object AwaitingAction .value in the drl
file.
Java refrence file attached
Thanks
Govind
MASTEK LTD.
In the US, we're called MAJESCOMASTEK
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that
of Mastek Limited, unless specifically indicated to that effect. Mastek
Limited does not accept any responsibility or liability for it. This e-mail
and attachments (if any) transmitted with it are confidential and/or
privileged and solely for the use of the intended person or entity to which
it is addressed. Any review, re-transmission, dissemination or other use of
or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. This e-mail and
its attachments have been scanned for the presence of computer viruses. It
is the responsibility of the recipient to run the virus check on e-mails and
attachments before opening them. If you have received this e-mail in error,
kindly delete this e-mail from desktop and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~