filtering tasks by process variable ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2011 03:27 AM
I know i can getVariable by providing executionId and the variable name.
But can i filter the List<task> by process variable when i just started the taskQuery?
It should be a common practice since filtering by Assignee or something like that is not enough.
If It is not supported, is there any solutions by extending the createTaskQuery ?
perhaps give me a direction to work with is enough.
Thanks for your opinion.
But can i filter the List<task> by process variable when i just started the taskQuery?
It should be a common practice since filtering by Assignee or something like that is not enough.
If It is not supported, is there any solutions by extending the createTaskQuery ?
perhaps give me a direction to work with is enough.
Thanks for your opinion.
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2011 04:18 AM
I found taskVariableValueEquals(String variableName, Object variableValue) , that may help, but is there a "OR" search ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2011 11:29 PM
Okay, i solved by using the hibernate to read the activiti database…
but it sacrifice the query function of the api…anyway, it seems faster…
but it sacrifice the query function of the api…anyway, it seems faster…
