[rules-dev] ruleFlowId as a dynamic way

Mauricio Salatino salaboy at gmail.com
Wed Sep 23 10:04:43 EDT 2009


weird question... I will re read the documentation to see if something is
not clear enough about how you start processes using ruleflow ids

On Wed, Sep 23, 2009 at 5:20 AM, Kris Verlaenen <
kris.verlaenen at cs.kuleuven.be> wrote:

> 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 at 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 at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-dev
> >
>
>
>
>
> Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>



-- 
- http://salaboy.wordpress.com
- http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20090923/f312ce86/attachment.html 


More information about the rules-dev mailing list