Each process defines its own id. If you look in the xml, the process
element has an id attribute. In the editor, click on the background of
your process and you will also see the id property in the properties view.
So you should give each of your processes a new id. Then you can easily
start each of those processes:
startProcess("MyFirstProcess");
startProcess("MySecondProcess");
Does that make sense?
Kris
Quoting mjido <m.benlachgar(a)netfective.ma>:
Hello,
I think i'm not very clear.
I have multiple ruleFlow files and i want to execute them with
startProcess(id).
But how i can associate each ruleFlow with his id.
Is there a way to get id process from ruleFlow file?
mjido wrote:
>
> Hi,
> I use workingMemory.startProcess(Id_process) to execute multiple
rulflow
> files.
> So i want to pass Id_proccess as a dynamic value.
> Is there any way to make this?
> Any helps will be very appreciated.
>
--
View this message in context:
http://www.nabble.com/ruleFlowId-as-a-dynamic-way-tp25509741p25531054.html
Sent from the drools - dev mailing list archive at
Nabble.com.
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Disclaimer:
http://www.kuleuven.be/cwis/email_disclaimer.htm