Hi all,

Is that possible to make a search for tasks by their description? A search by name is possible through:

TaskQuery stringFieldQuery = TaskQuery.create();
stringFieldQuery.where().name().isLike("search by name");

I guessed it was the same for the description but it seems to be unpossible to do such a TaskQuery for the description because the following code returns an IColumnFilterQuery and not an IStringColumnFilterQuery as for the name():

stringFieldQuery.where().description() // There is no isLike("...") method then.

Is there another possibility with the TaskQuery?

Thanks in advance

Emmanuel

asked 09.06.2015 at 11:50

Emmanuel's gravatar image

Emmanuel
175131619
accept rate: 66%


No, I think you can not do that with the current TaskQuery-API. This is a bug in the API definition. The difference is that the task name is stored as VARCHAR whereas the task description is a TEXT field depending on the DB system.

The same you will encounter in the CaseQuery-API.

Thanks for your post

Bruno

link

answered 09.06.2015 at 15:13

Bruno%20B%C3%BCtler's gravatar image

Bruno Bütler
56171318
accept rate: 72%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×66
×10

Asked: 09.06.2015 at 11:50

Seen: 1,059 times

Last updated: 09.06.2015 at 15:13