BDM

How to secure BDM REST APIs?

Is there a good place we can add code to prevent all users from having access to BDM data through the REST API? It'd be nice to both be able to only display search results/objects for users who should have access to them (using custom code to filter them out) as well as only display fields that they should be able to see (in case we have internal fields that shouldn't be exposed.)

Thank you!

Error trying to access the BDM

I'm trying to access the BDM from a script in Groovy. After several attempts and tests can not I find what is wrong. Attached diagram and log.

DAO_error

Bug with recursive BDM ?

I have a java.lang.StackOverflowError error when working with DBO containing reference to the same type of BDM.

Is this a bug ?

BDM and Groovy script

I use the following Groovy script to retrieve data stored in the BDM. In the BDM I defined a "business Object" called "Rutas" that has two "attributes", "nombreRuta" and "valor".
The script I use is:

import com.company.model.Rutas
List rtSubir = rutasDAO.findByNombreRuta("rutaSubir",0,100)

return rtSubir

But I fails. I think that left me something, but I can not to find out what it is.
Any suggestions?. Thank you.

Failed to use a business model data in a throw/catch event

Hi,
I fail to add a Business data variable as an item of a thrown message event.
If I use only String values, it's OK but the process fails when the content item is a business variable or a list.
I created 2 entities (BDM) :
- Entity property with 2 String properties (label and value) : Hashmap <String, String>
- Entity with some String properties and a multiple (List) of Entity properties
I did it the same way as shown in the "Expense report" tutorial (expense report and report lines)

How to update business data model with RestAPI

Hi,
how to update business data model with RestAPI?

I tried:
Request url: http://../API/bdm/businessData/{businessDataType}
Request method: PUT
Request payload: A business data (in JSON format)

But It does not work!

Thanks
Manolo

Getting Existing Data for Sub Process

Hello Team,

I have a New Account Process that has a total of three sub process. The first pool is the new request process, which sends task to the second level of approval process and then to the final approval process that create the user to role access.

I'm newer to the BDM so I'm having some issues accessing the existing records. I'm able to pass initialize the BDM (see below code) and pass the data from step to step within the same pool and thru the contract. However, I'm seeing two things.

How to access to a Business Object?

Hi,

I'm trying to get access to a row in a Businnes Object from an external process (I cannot access from context) but I cannot do this, I get the following exception:

Bonita 7 / Are business objects (BDM) accessible in the process overview page

Hello.

My first test process with Bonita 7 uses a business object to model its main data elements, and uses contracts for tasks pages. In all the tasks pages, the business object is available, using a variable of type "external API" like "../{{context.request_ref.link}}" where "request" is my process object, and forms fields can refer to the needed elements through the variable.

Notifications