[rules-dev] Conditional Execution Rules in Drools Guvnor?

Wolfgang Laun wolfgang.laun at gmail.com
Fri Jun 14 14:00:44 EDT 2013


You can't "run rules".

If "1" through "5" are code blocks, you put them into DRL functions or
methods and then you write a rule:

rule x12345
when
  ...condition returning true when Ck_MT is true...
then
  Number1(); ... Number5();
end

Are you sure that you want to use a rule based system? The diagram looks
like a flow chart to me, showing a simple if statement.

-W

On 14/06/2013, mr_kapa_23 <kelton.silva at partnersolutions.pt> wrote:
> <http://drools.46999.n3.nabble.com/file/n4024296/Example1.png>
>
> For example ,
>
> If Ck_MT is True i want run the Rule Number 1 and 2 and 3 and 4 and 5,
>  If not i don't make anything.
>
>
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/Conditional-Execution-Rules-in-Drools-Guvnor-tp4024244p4024296.html
> Sent from the Drools: Developer (committer) mailing list mailing list
> archive at Nabble.com.
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>


More information about the rules-dev mailing list