Content Services (ECM)
Process Services (BPM)
Application Development Framework
Digital Business Platform
Announcements & Opportunities
Alfresco Ambassador Program
Alfresco Process Services & Activiti (BPM)
to create and rate content, and to follow, bookmark, and share content with other members. Not a member?
org.activiti.engine.task.TaskQuery.taskNameLike(%searchString%) is case sensitive
Question asked by
on Dec 4, 2013
on Dec 4, 2013 by bmarkmann
Show 0 Likes
I'm trying to add a text filter to search tasks, but when I use org.activiti.engine.task.TaskQuery.taskNameLike(%searchString%), "searchString" is case sensitive, is there a method like taskNameLikeIgnoreCases?
No one else has this question
Mark as assumed answered
This content has been marked as final.
Show 1 comment
(Required, will not be published)
Dec 4, 2013 9:40 PM
What database are you using? In Oracle, for instance, the ability to do case-insensitive comparisons is handled by server-side configuration… not sure whether this would break anything else in the engine / API, but take a look at this:
A more general solution might to be leverage the management service to build a query directly against the task table(s) and use your DB's equivalent of a "to upper" function to do the query. The ability to do native queries against the Activiti engine schema is covered here:
Show 0 Likes
Retrieving data ...
How to update content with ContentWriter class
NodeService - java.lang.NullPointerException
[RESUELTO] Email de notificaciones en tareas. Cambiar Asunto y remitente.
Alfresco Java Client SDK - Usage Part 3 - Creating Nodes