Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

addCondition() usage?

Not applicable
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!
3 Replies
Jasmin_Charbonn
Level 10
Level 10
filter.addCondition(TaskSearchingUtil.pDESCRIPTION,Operator.EQUALS, "Test");



Jasmin
Sonali_S_Sabnis
Level 1
Level 1

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?