cancel
Showing results for 
Search instead for 
Did you mean: 

mzSetQueryKeyword and Binary Operator for CustomQuery

Carl_Vincent
Confirmed Champ
Confirmed Champ

Hi guys, 

I need to run a Custom query behind ths scene with OnBase API.

I need to do an OR operation for the same KW into mzSetQueryKeyword If I call it 2 times it will be an OR or an AND ?

Like 

myapp.mzSetQueryKeyword(qryHdl,"VendorID",1, MZ_EQUAL)

myapp.mzSetQueryKeyword(qryHdl,"VendorID",2, MZ_EQUAL)

It will find VendorID 1 AND 2 or 1 OR 2

Thanks

1 ACCEPTED ANSWER

Tyler_Sorber
Star Collaborator
Star Collaborator

Hi Carl

Unfortunately, there is not a way to perform OR Operators within the Thick Client API.  As a workaround, you can perform multiple DocumentQueries to emulate the OR Functionality. 

View answer in original post

6 REPLIES 6

Sorry for the confusion.

Unfortunately, for OR functionality with this Query, the Unity API will need to be utilized. Essentially, an IWorkflowScript can be used in the Core Workflow Context for the business process.

Carl_Vincent
Confirmed Champ
Confirmed Champ

If I do that with Unity API and I want to show them, did I need a Unity Server Licence ?

Using : unityClientAutomation.DisplayDocumentList(displayDocumentListProperties);

Or if I already installed Office Integration it will use the Unity Platform but not the Unity Client ?

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.