[
https://jira.jboss.org/jira/browse/JBPM-2505?page=com.atlassian.jira.plug...
]
Joao Fonseca commented on JBPM-2505:
------------------------------------
Yes, I think you'll always have some performance considerations if you choose to
develop this feature.
I just feel that restricting queries to using process keys will be hard for some use
cases. Namely when there's no natural ID that can be used as a key, or if there's
an ID, but that may repeat over time (it will trigger errors for unique database IDs on
some database tables).
Solutions to the above will force users to maintain additional tables where they can
correlate their domain information to the corresponding process key. This domain
information will probably be stored in process variables, so it would be easier to query
directly using them.
ProcessInstanceQuery - no way to search by process variables
------------------------------------------------------------
Key: JBPM-2505
URL:
https://jira.jboss.org/jira/browse/JBPM-2505
Project: jBPM
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.x, jBPM 4.2, jBPM 4.1, jBPM 4.0, jBPM 4.0.CR1, jBPM
4.0.0.Beta2, jBPM 4.0.0.Beta1, jBPM 4.0.0 Alpha2, jBPM 4.0.0 Alpha1
Reporter: Joao Fonseca
Priority: Optional
Currently, there's no way of searching for process instances that contain variables
set to a given value.
Sometimes, there's no way of assigning a process instance key when starting a
process, so we need to search for processes using values stored in some of the
variables...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira