Re: [rules-users] Determining the active nodeinstance for a process

2009-09-04 Thread Kris Verlaenen
There are several ways of doing this. 1. Using the audit log You can log the execution events so they can be queried later. The drools-bam module contains a WorkingMemoryDbLogger that logs these events to database, so you can easily query them. 2. Inspecting the process instance itself You can

Re: [rules-users] Determining the active nodeinstance for a process

2009-09-04 Thread Kris Verlaenen
Quoting Garrett Conaty garr...@conaty.net: Question on JPAProcessInstanceManager.getProcessInstances. I see that it returns an empty array, which I suppose makes sense otherwise it would load every process instance from the db? Yes, in that case it doesn't make sense to fetch all

[rules-users] Determining the active nodeinstance for a process

2009-09-03 Thread Garrett Conaty
I'm trying to determine 'where' a process is (not the active/completed/ etc. state), but the wait state. One way of doing this (and tracing the process execution) would be via a RuleFlowEventListener; however is there a way to query a ProcessInstance (or something?) for this information?