]
Edson Tirelli reassigned JBRULES-762:
-------------------------------------
Assignee: Edson Tirelli (was: Mark Proctor)
error recognizing an element oustide the accumulate statement in the
"init" part of the "accumulate"
----------------------------------------------------------------------------------------------------
Key: JBRULES-762
URL:
http://jira.jboss.com/jira/browse/JBRULES-762
Project: JBoss Rules
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 3.1-m1
Environment: Win Xp Pro Sp2, Eclipse, java version 1.5.0.11-b03
Reporter: Nicolas Dery
Assigned To: Edson Tirelli
rule "RULE_MAX_HOURS_BY_WEEK"
when
$test : ITest()
$horizons : IHorizon() from $test.getHorizons()
$test2 : IValueContainer(observedValue > 40) from accumulate( $shift :
IShift(employeeKey == 10),
init(IValueContainer valueAccessor = new
ValueContainer("NB_HOURS",$horizons); ),
action( valueAccessor.addEvent( $shift ); ),
result( valueAccessor ) );
then
System.out.println("somethin");
end
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: