Can I know the API call for all Business Objects & Fields present in the Bonita studio

1
0
-1

Hi Team,

I am trying a use case, where in which i need to know all the Business Objects, Fields present in my Bonita studio via API.
Gone through the documentation, but it needs the businessDataName for getting the fields. but I need all the BusinessObjects and fields inside it, in one single API call.
Please let me know if there is any such possibility.

Thanks & Regards,
Naga siva Prasad.

1 answer

1
0
-1

If I understand correctly you want to have access to the Business Data Model definition (names of objects and attributes) using Bonita Engine API.

You can actually use TenantAdministrationAPI (available in connectors, Groovy script... and using bonita-client library) to get the zip file of the BDM definition deployed on a Bonita server. The exact method to call is getClientBDMZip. This will get you the zip file of the BDM deployed on the server. If you unzip this file you get the XML definition of the BDM that you can parse to get the structure of the BDM (objects and attributes names).

Notifications