Hi Esteban,
We are using persistence and logging activity to the DB. We are trying to avoid directly querying the DB and sticking to using the API methods. Also from the query you suggest I don't see how that gives me the list active Tasks for the process instance which is what the use case I'm trying to implement requires.
Regards,
Jim