Just wondering if there is an example somewhere around, yes i searched a lot before posting, on how to simply construct an audit trail of a process instance ?
I did some investigation on the log command but it seems its an all or nothing aproach so far as the standard api goes. i.e. it gives you a whole tree of instances of ProcessLog and not much beyond that.
Another question would be if there is a way to get the current status of process instance i.e where are the active tasks and how long have they been there etc ?