BDM

Actualizar un registro de un objeto de BDM con un proceso de actualizacion

El escenario es:

He creado registros en el objeto Clientes con el proceso Registo Clientes en el objeto Clientes.

Luego con el proceso Actualización cliente quier actualizar los campos del objeto clientes, Cómo se hace esta configuración?

Slds

can I create common table expression (CTE) in custom query?

Hi

I wana use a complex query. I checked it on my databas on the server and it worked on the postgreSQL, but when I add it in the custom query on the BDM in Bonita Studio, it has an error:

30-Nov-2022 11:32:39.009 ERROR [http-nio-8080-exec-4] org.hibernate.internal.SessionFactoryImpl. HHH000177: Error in named query: MyTable.findQuery
org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token: with near line 1, column 1 [with myName as

It is possible to write complex query like this:

How to update BDM row through API Rest?

I need to update a business object of an ongoing case outside of it, for example the user inputs a contract, which is saved in the bdm, then for an unknown reason this needs to be updated, I don't want to have an extra task, I need to update the bdm via API Rest, I can get the model name and persistence id, but can't find a way to update it.

Is there a way to do it? If so, could you give me a hand with this?

Thanks

Is there a way to make a multiple attribute mandatory in the BDM?

I need to make an multiple attribute in the BDM mandatory, for example, let's say I have a BusinessObject Invoice, an invoice contains multiple InvoceLine, and an invoice should not exist without at least one InvocieLine, how can I achieve this with the BDM?

‘Deploy Business Data Model’ has encountered a problem.

Hi

I switched to Bonita 2021.2 recently but sometime bdm didn't deployed.

I do all these steps but they didn't fix the problem:

- redeploy bdm

- clean bdm

- restart Bonita

- restart windows

I have encountered this error before and had to reinstall Bonita!

Is there any solution to this error?

I checked bdm and bom.xml, everything are apparently right.

\.metadata\.log:

Case Overview (archived case) : how can I access variable (BDM/Process)

Hello,
In general, I used the RestApiContext, which solve all theses questions.
But here, I have to analyze all the different options.
In a process, I have a BDM (let's say "invoice") and a process variable (let's say "commentOnInvoice").
I want to display in my case Overview these information.
------------------- Documentation
Reading https://documentation.bonitasoft.com/bonita/7.11/uid-case-overview-tutorial, I used the REST API

Is there limitation for editing list of data in a table of bdm?

Hi, I’m using Bonita community version 7.8.

In my project, I want to edit list of data but something is wrong!

I get all my data in a business variables with name labs, then I edit the labs list in a script task-> operation .

After run the project in local, only 3 rows edited!

I tested projec on my server, but about 100 rows edited!

I didn't see any error in logs!

Did I try the wrong way? or Is there limition for editing all data in a table?

Install Business Data Model, It didn't create relative table in business_data.db

Hi, I am using Bonita Studio (version 7.9.4) create bdm and export it to bdm.zip,

when i trying to install the bdm.zip to a new Server(for testing environment) , It didn't create relative table in business_data.db (Mariadb Server version10)

I found that qualifiedName seems have a length limit

when i short the qualifiedName

from "com.baeshiow.model.BSCancelLeaveApplication"

to "com.baeshiow.model.BSCancelLeaveAp" , it can create table successfully after install bdm.

Delete line in BDM from my diagram.

Hello community,

Please anyone can help me with deleting a line in the BDM from my diagram?

In my use case, i add a line, i modified a line also, but i didn't find the way to delete something.

For example in my BDM i have a table "Student" with two columns: Name and last name. and there is 2 lines in this table: James BOND and Will SMITH. In this point i want to delete WILL SMITH (not from the browser but from my diagram).

Please anyone can help me in this point.

Thank you :)

SBusinessDataNotFoundException: persistenceId of business data is null

Hi,
I have a problem with a new object I created in the BDM.
I created an object "Autorisation" and added 2 variables of this type in an existing object "MainModel".
In a form, I return a json array of Autorisation and in the task operation, I have a script to set the variable of the MainModel :

Notifications