]
Huisheng Xu updated JBPM-2868:
------------------------------
Fix Version/s: jBPM 4.x
Add a new method 'processDefinitionIdLike' to TaskQuery
-------------------------------------------------------
Key: JBPM-2868
URL:
https://jira.jboss.org/browse/JBPM-2868
Project: jBPM
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.3
Reporter: Stephane Malbequi
Priority: Minor
Fix For: jBPM 4.x
Hi,
it's not possible to create a task query to find all tasks of all versions of a
specific process because TaskQuery append a where clause with a = operator and not a like
operator
if (processDefinitionId!=null) {
appendWhereClause("task.processInstance.processDefinitionId =
'"+processDefinitionId+"' ", hql);
}
May be, it's a good idea to add a new method like 'processDefinitionIdLike'
to TaskQuery object in order to append a where clause like that :
if (processDefinitionIdLike!=null) {
appendWhereClause("task.processInstance.processDefinitionId like
'"+processDefinitionIdLike+"' ", hql);
}
Thanks in advance
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: