-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.8.0-HF18, 5.9.5
-
Fix Version/s: 6.0
-
Component/s: Elasticsearch, Workflow
-
Tags:
-
Sprint:Sprint DM/Studio 5.9.6-1
The getTaskInstances uses an hard coded NXQL query that sometime does not scale.
Using a page provider will enable to override the query, so we can use Elasticsearch if available to query tasks.
The NXQL query is
SELECT * FROM Document WHERE ecm:mixinType = 'Task' AND ecm:currentLifeCycleState NOT IN ('ended', 'cancelled') AND ecm:isProxy = 0 AND (nt:targetDocumentId = ? OR nt:targetDocumentsIds IN (?))