Re: [rules-users] How to figure out the recent node(s) in a drools flow ?

2010-05-27 Thread PAYET, Manuel
Excuse me, I think that I haven't been clear enough.
The drools-bam module doesn't force you to activate the persistence. 
That's two differents things in fact. 
>From what I've understood of the execution mechanism of drools, by default, it 
>doesn't write anything in any database, so, if you want to have the recent 
>node state of a flow from oustide the program that executes the flow, you have 
>to write into a database, I can't figure out any other solutions...
Drools-bam module creates two really simple tables that's named by default 
processinstancelog and nodeinstancelog. So it's really easy to request in 
those. That's the only way I can find out for your matter.

By the way drools-bam can be found in the maven jboss repository (version 
5.1.0-M1).

If you find out any other solution, please tell me, I'm interested.

-Message d'origine-
De : robert.weissm...@web.de [mailto:robert.weissm...@web.de] 
Envoyé : mercredi 26 mai 2010 22:30
À : Rules Users List; PAYET, Manuel
Objet : Re: [rules-users] How to figure out the recent node(s) in a drools flow 
?

Hm,

for the event-listener way I need to have an App up and running to catch those, 
but what about an App which will be turned on later, but needs to know the 
actuall state of the process. This leaves only the first possibility, to use 
the persistence mechanism and check out the database ?

That sounds pretty strange to me, since the mechanism to continue from the 
actual (last actual) state of the process must be there already (or is this not 
possible with the drools flow ? ) and therefor I was hoping to get direct 
API-access to this mechanism.

So please, let me know if the DB is the only way to figure out at which recent 
state (which nodes are recently active) the process instance is or if there is 
some API to get this information directly.

Cheers, Rob.

Am 26.05.2010, 10:15 Uhr, schrieb PAYET, Manuel
:

> There are different ways of doing this:
> -you can activate the drools-bam module to trace the activities of 
> your nodes in database -you can add an eventlistener to your process 
> (session.addEventListener) and by this, you can track which node was 
> activated etc...
> -probably other ways :p
>
> -Message d'origine-
> De : rules-users-boun...@lists.jboss.org
> [mailto:rules-users-boun...@lists.jboss.org] De la part de Robert 
> Envoyé : mercredi 26 mai 2010 10:15 À : rules-users@lists.jboss.org 
> Objet : [rules-users] How to figure out the recent node(s) in a drools 
> flow ?
>
> How am I able to figure out at which point (node(s)) the recent 
> process instance is ?
>
> I was looking hard for some methods in the API, but could not find any.
>
> Cheers, Rob.
>
> --
> Erstellt mit Operas revolutionärem E-Mail-Modul:  
> http://www.opera.com/mail/
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
>
>
>
> This message contains information that may be privileged or confidential  
> and is the property of the Capgemini Group. It is
> intended only for the person to whom it is addressed. If you are not the  
> intended recipient, you are not authorized to
> read, print, retain, copy, disseminate, distribute, or use this message  
> or any part thereof. If you receive this message
> in error, please notify the sender immediately and delete all copies of  
> this message.
>
>
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users


-- 
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/






This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is 
intended only for the person to whom it is addressed. If you are not the 
intended recipient, you are not authorized to 
read, print, retain, copy, disseminate, distribute, or use this message or any 
part thereof. If you receive this message 
in error, please notify the sender immediately and delete all copies of this 
message.


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] How to figure out the recent node(s) in a drools flow ?

2010-05-26 Thread Robert
Hm,

for the event-listener way I need to have an App up and running to catch  
those, but what about an App which will be turned on later, but needs to  
know the actuall state of the process. This leaves only the first  
possibility, to use the persistence mechanism and check out the database ?

That sounds pretty strange to me, since the mechanism to continue from the  
actual (last actual) state of the process must be there already (or is  
this not possible with the drools flow ? ) and therefor I was hoping to  
get direct API-access to this mechanism.

So please, let me know if the DB is the only way to figure out at which  
recent state (which nodes are recently active) the process instance is or  
if there is some API to get this information directly.

Cheers, Rob.

Am 26.05.2010, 10:15 Uhr, schrieb PAYET, Manuel  
:

> There are different ways of doing this:
> -you can activate the drools-bam module to trace the activities of your  
> nodes in database
> -you can add an eventlistener to your process (session.addEventListener)  
> and by this, you can track which node was activated etc...
> -probably other ways :p
>
> -Message d'origine-
> De : rules-users-boun...@lists.jboss.org  
> [mailto:rules-users-boun...@lists.jboss.org] De la part de Robert
> Envoyé : mercredi 26 mai 2010 10:15
> À : rules-users@lists.jboss.org
> Objet : [rules-users] How to figure out the recent node(s) in a drools  
> flow ?
>
> How am I able to figure out at which point (node(s)) the recent process  
> instance is ?
>
> I was looking hard for some methods in the API, but could not find any.
>
> Cheers, Rob.
>
> --
> Erstellt mit Operas revolutionärem E-Mail-Modul:  
> http://www.opera.com/mail/  
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
>
>
>
> This message contains information that may be privileged or confidential  
> and is the property of the Capgemini Group. It is
> intended only for the person to whom it is addressed. If you are not the  
> intended recipient, you are not authorized to
> read, print, retain, copy, disseminate, distribute, or use this message  
> or any part thereof. If you receive this message
> in error, please notify the sender immediately and delete all copies of  
> this message.
>
>
> ___
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users


-- 
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] How to figure out the recent node(s) in a drools flow ?

2010-05-26 Thread PAYET, Manuel
There are different ways of doing this:
-you can activate the drools-bam module to trace the activities of your nodes 
in database
-you can add an eventlistener to your process (session.addEventListener) and by 
this, you can track which node was activated etc...
-probably other ways :p 

-Message d'origine-
De : rules-users-boun...@lists.jboss.org 
[mailto:rules-users-boun...@lists.jboss.org] De la part de Robert
Envoyé : mercredi 26 mai 2010 10:15
À : rules-users@lists.jboss.org
Objet : [rules-users] How to figure out the recent node(s) in a drools flow ?

How am I able to figure out at which point (node(s)) the recent process 
instance is ?

I was looking hard for some methods in the API, but could not find any.

Cheers, Rob.

--
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/ 
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users






This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is 
intended only for the person to whom it is addressed. If you are not the 
intended recipient, you are not authorized to 
read, print, retain, copy, disseminate, distribute, or use this message or any 
part thereof. If you receive this message 
in error, please notify the sender immediately and delete all copies of this 
message.


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] How to figure out the recent node(s) in a drools flow ?

2010-05-26 Thread Robert
How am I able to figure out at which point (node(s)) the recent process  
instance is ?

I was looking hard for some methods in the API, but could not find any.

Cheers, Rob.

-- 
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users