I want to load a new drl file based on the "when then " condition of some rule. In the following example i want to include a new "checkMasterData.drl" file when getFilteredMasterData().size()>3 from the another drl file
rule "Check for mouse catch"
dialect "java"
when
$notification:NotificationVO(getFilteredMasterData()!=null
,getFilteredMasterData().size()>3);
then
#include checkMasterData.drl
end
is it possible? Or do i need to do this from the java code after the fireall is succes of the first drl file