Rest API Extensión - use the same connection string as Bonita Engine
We have been working with custom rest api extensions, we are using Groovy Sql to create some custom queries that read data from the bdm database.
At the moment we have the connection string static on the groovy script, I wonder if there is a way to read the connection string from the database.property?
The BDM Database is a constant name (except it changes between 7.8 to 7.10).
When I need to access a connection to the BDM, I use BonitaEngineConnection.getBusinessConnection() from BonitaProperties 2.8
Attention to release this connection!