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
<manuel.payet(a)capgemini.com>:
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-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] De la part de Robert
Envoyé : mercredi 26 mai 2010 10:15
À : rules-users(a)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(a)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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Erstellt mit Operas revolutionärem E-Mail-Modul:
http://www.opera.com/mail/