Hi,
A lot of questions in the same email about different subjects! :)
Yes you can start a process inside the Right Hand Side of a Rule using:
kcontext.getKnowledgeRuntime().startProcess(<here goes the process id>,
<here the parameters>)
For running a rule every two days you will need to use timers, please refer
to the official documentation.
Cheers
On Mon, Sep 3, 2012 at 4:48 PM, Sadiroveski <sadirov79(a)hotmail.com> wrote:
Hello,
Is there a way to initiate a process based on a rule? So if the rule is
fired, a process will be initiated.
If this could be happened, how about pass arguments/variables to the
process
from this rule? is it possible too?
Also, how can we set a rule to run every 2 days?
thanks in advance,
--
View this message in context:
http://drools.46999.n3.nabble.com/Call-a-Process-from-a-Rule-tp4019556.html
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
- MyJourney @
http://salaboy.wordpress.com
- Co-Founder @
http://www.jugargentina.org
- Co-Founder @
http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -