cancel
Showing results for 
Search instead for 
Did you mean: 

Search on tasks

madnicow
Champ in-the-making
Champ in-the-making
Hi,

If we use a lot of workflows, we will have a lot of tasks that appear in the dashboard and it becomes difficult to found a particular one. So my question is:
In Alfresco, we can do a search on a content, but is it possible to add the capacity of doing some searches on tasks (using a word in the description as the query parameter)??

Thanks
3 REPLIES 3

davidc
Star Contributor
Star Contributor
Not at this time through our API.

It may be possible using a direct Hibernate query against jBPM tables.

davidc
Star Contributor
Star Contributor
In 2.1, we added a new task query method to the WorkflowService API…

public List<WorkflowTask> queryTasks(WorkflowTaskQuery query); 

The query predicates include:

- task id
- task type (e.g. review)
- task state (in progress, completed)
- task assignee
- task custom properties
- process id
- process name (e.g. review & approve)
- process active
- process custom properties

However, there isn't support for full text query on task properties - exact match only.

Workflow history (in task dialogs), the "All Tasks Dashlet" etc use this API.

In 2.2, we should also have a Javascript equivalent of the WorkflowService.

inocka
Champ in-the-making
Champ in-the-making
Hello,
I'm using 3.3 community edition and also need dashlet with task search.
What is best way to do that in this release version?

Thanks

Ij