We anticipate that we will need to perform detailed searches across process instances. In particular, we would like to search for process instances matching against form field values and process variable values. I don't see that the existing GUI offers this level of searching. Also, I do see an API that allows me to search for tasks matching on field values but I don't see any API that allows me to search for process instances matching either field or process variables.
First, is there existing searching functionality that I've missed. Second, what is the potential and advisability of searching via direct SQL to the Activiti database?
Thanks!!