Business Object query in Bonita Studio

Hi all,

When creating a Business Object, Bonita automatically creates a series of “standard” queries according to the defined attributes (e.g. “findByxx”, “countForFindxx” etc).
My question is: can I use this queries (or any custom defined query) in Bonita Studio or are they available only as APIs call on the UI side?
For example (refering to the getting start tutorial [1]), let’s say that I want to retrieve all TravelRequest with a given destination (e.g. London). In the Studio, is it possible to set up a task that runs the predefined query “findByDestination” given the input string “London”? I’m not sure how can I call this query/get a list of available query (I tried with a script but got nowhere).

Thanks in advance.
Best

[1] https://documentation.bonitasoft.com/?page=getting-started-tutorial

1 Like