Workflow process indexing and querying is still in beta. Please be aware that the functionality described below is still under review and may change.
The following methods are used to manage and query process instance data held in the SOLR search collection.
The initial search collection is built via an iCM Scheduled Tasks. Indexing must also be enabled in the Workflow worker configuration. Once the collection has been built it is kept up to date by the workflow worker (ie as new process instances start they are added, if they are deleted they are removed, and as variables change they are updated).
The SOLR search collection is a secondary data store (the primary being the database itself) and as such there can be a short delay between data being updated and that update being present in the search collection.
Process Variables
Process variables created by form submissions are only indexed if the form fields are set as searchable in the "summary form" used by the process instance (the summary form a process uses is named in the