8.4 Workflow query system
Daisy's workflow API provides a query system that allows for flexible querying of process instances, tasks and timers.
The query system allows:
- to specify a flat set of conditions on built-in properties, process variables, and task variables. A few 'special conditions' are also available. Conditions are either AND-ed or OR-ed together ('match all' or 'match any').
- results can be sorted on properties and variables.
- either the full process or task objects are returned, or a resultset (table) structure of selected properties and variables.
- the returned results can be limitted to a certain 'chunk'.
The query is not expressed in a query language but either as an object structure in the Java interface or an XML structure in the HTTP interface.