Skip to Content
0
Dec 10, 2013 at 09:52 AM

UWL API : How to create CompoundExpression object

28 Views

Hello,

I am using following code line to fetch all UWL tasks in my custom WD Java DC: -

QueryResult queryResult = itemManager.getItemsForView(uwlContext, uwlView, null, null);

Now, I want to apply a filter in above method to fetch tasks only for certain UWL Connectors.

For example,

connectorId = myconnectorID#1

and

connectorId = myconnectorID#2

and

connectorId = myconnectorID#3

From my study so far about UWL API, I think we have to create & pass last parameter "CompoundExpression" in getItemsForView method above.

I am trying hard to find a way to properly instantiate this CompoundExpression object with correct condition & expression.


Could someone suggest any ideas about this?

Thanks & Regards,

Amey Mogare