This website is archiving the documentation of versions prior to 7.3. You can visit the New Bonita BPM Documentation website for versions 7.3 and greater.
Documentation- Legacy -
This example shows how to get a list of archived process instances that meet a specified filter.
Note that this type of query is only possible with archived process instances.