[JBoss JIRA] Created: (JBPM-2543) Enhance query API with operations needed for JOPR plugin
by Joram Barrez (JIRA)
Enhance query API with operations needed for JOPR plugin
--------------------------------------------------------
Key: JBPM-2543
URL: https://jira.jboss.org/jira/browse/JBPM-2543
Project: jBPM
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Affects Versions: jBPM 4.0, jBPM 4.1
Reporter: Joram Barrez
Assignee: Joram Barrez
Priority: Minor
Fix For: jBPM 4.3
The following operations where demanded by Jim Ma for his JOPR plugin work (and I agree that they are needed).
1. JobQuery : query by job id
2. query historyTasks by process definition id" .
3. The api to query the average process instance duration . I get this value by sum and divide the process duration . It will be faster if there is the same api as the get average activity duration.
4. The api to get the process deployment , process definition , process instances , task number . It can be retrieved by calling the collection size . It will be efficient to select count(*) from database .
--
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
14 years, 11 months
[JBoss JIRA] Created: (JBPM-2416) introduce task audit capabilities
by Tom Baeyens (JIRA)
introduce task audit capabilities
---------------------------------
Key: JBPM-2416
URL: https://jira.jboss.org/jira/browse/JBPM-2416
Project: JBoss jBPM
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Runtime Engine
Reporter: Tom Baeyens
Assignee: Tom Baeyens
Fix For: jBPM 4.1
task history and all history in general should be configurable in a declarative manner.
on a task definition, a process or in the process-engine context, it should get a boolean audit attribute. if audit for a task is enabled, all variable updates for that will be recorded.
for now, it is sufficient if the audit attribute has potential values {enabled,disabled}. In the future, the value for the audit attribute could get more fine grained specification based on individual (commaseparated list of) use cases.
it must be possible to combine audit with the isHistoryEnabled on the variable declaration.
--
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
14 years, 11 months
[JBoss JIRA] Created: (JBPM-2567) TaskQuery Should allow to .count() Tasks in addition of .list() them
by Adolf Grazou (JIRA)
TaskQuery Should allow to .count() Tasks in addition of .list() them
---------------------------------------------------------------------
Key: JBPM-2567
URL: https://jira.jboss.org/jira/browse/JBPM-2567
Project: jBPM
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 4.1
Reporter: Adolf Grazou
The interface : "org.jbpm.api.TaskQuery" allows to make queries to the existing Tasks.
It allows to list the Tasks corresponding to a certain filter.
Currently, the only way to get the number of Tasks corresponding to this filter is to get the list, then get the size of this list.
That means that for the equivalent of a "count" in the DB, we have to retrieve the whole list. (which is not optimized).
Maybe adding a .count() method in addition of the .list() method would be interesting.
--
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
15 years