More general use REST API BDM search


Hi! I'd love some input and ideas, because it feels like I am missing something or thinking of this the wrong way.
I am using bonita to create the process definition, process steps and the business data models. I want to be able to search these existing BDM records via the API based on the fields that exist in the model.

Say you have 3 fields:
- DateCreated field of date type
- Comment field of string type
- DecisionStep of int type

In order to search for all BDM records on any of these variables, I need to add the custom queries for each combination of them in the Bonita Studio for the BDM designer. This requires 3^3 queries to get all variants, and is manageable for small amounts of variables, but since it grows according to n^n, having 5 or more is just infeasible to create the required queries.

Is there a general search query I can use to search my BDM records with 1, 2 or all three of these fields, or am I going about this the wrong way around?


Submitted by antoine.mottier on Wed, 05/15/2019 - 10:48


In order to provide an accurate answer can you clarify if you want to have:
A) a single text input widget and search for the given value in any of the business object attributes
B) 3 text input widgets, one for each attribute and search based on the text input widgets that got a value entered by the user ?

Thanks for the clarification.

No answers yet.