addCondition() usage?

Avatar

18-06-2008

I was wondering if anyone could provide an example of how to use the addCondition function of a TaskSearchFilter object. What I'm specifically trying to do is to search based on a process id. Am I supposed to use a TaskSearchingConstants object with this?



Thanks!

Replies

Avatar

Avatar
Coach
Level 10
Jasmin_Charbonn
Level 10

Likes

149 likes

Total Posts

2,154 posts

Correct reply

97 solutions
Top badges earned
Coach
Give Back 1000
Give back 900
Give Back 800
Give back 600
View profile

Avatar
Coach
Level 10
Jasmin_Charbonn
Level 10

Likes

149 likes

Total Posts

2,154 posts

Correct reply

97 solutions
Top badges earned
Coach
Give Back 1000
Give back 900
Give Back 800
Give back 600
View profile
Jasmin_Charbonn
Level 10

18-06-2008

filter.addCondition(TaskSearchingUtil.pDESCRIPTION,Operator.EQUALS, "Test");



Jasmin

Avatar

Avatar
Level 1
Sonali_S_Sabnis
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
Sonali_S_Sabnis
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
View profile
Sonali_S_Sabnis
Level 1

18-06-2009

Hi Jasmin,

I am using the addCondition(String, Operator, Object) for setting the State of a process as INITIAL.

For ex: filter.addCondition("state", Operator.EQUALS, "INITIAL");

Now when I run the application, I am getting a InvocationTargetException. Would you please let me know whether I am following a correct approach?