[rules-users] Planner:5.5.0beta1 chained with 2 planningvariables difficulties

ge0ffrey ge0ffrey.spam at gmail.com
Tue Oct 23 09:30:08 EDT 2012


Paul T wrote
> Exception in thread "main" java.lang.IllegalArgumentException: The
> valueSelectorConfig (ValueSelectorConfig(null)) has no configured
> planningVariableName (null) for planningEntityClass (class
> com.domain.Orders) and because there are multiple in the
> planningVariableNameSet ([previousTaskOrEquip, standTime]), it can not be
> deducted automatically.

You'll need to specify the planningVariableName, see the
curriculumCourseSolverConfig.xml for an example how to do that.
This is because there are 2 planning variables, it's independent of whether
or not some of them are chained.




--
View this message in context: http://drools.46999.n3.nabble.com/Planner-5-5-0beta1-chained-with-2-planningvariables-difficulties-tp4020430p4020439.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list