BDM

How to find the max string length for a BDM class field?

If I have BDM class "com.company.model.MyBDM" with a string field "field1", declared to have a max size of 80 in the business data definition of the studio, how can I determine this max size in groovy connector scripts (or other script types).

In particular: I'd like to be able to add contract constraints to police the max lengths allowed without having to hard-code the length in the BDM definition and all related scripts, constraints and expressions.

I'm pretty sure it has something to do with annotations, but I cant work out the correct syntax.

Many thanks

User Task Not Found Exception using BDM in Bonita ui

I have developed test application using BDM and Bonita ui designer in Bonita BPM Community Edition Version : 7.3.1. I have business object named "BusinessObject1" with one string type name and "namebd" as Business Variables of "BusinessObject1".
In Step1 i created one Input:

formInput | {"nameInput" : {"name" : ""}} | JSON
in step1 operations i added:
namebd steName nameInput.name

config bdm fo postgres

hi
I've configured bonita 7.3 for postgreSQL
both engine db and business db.
engine db work well but there is some problem in business db.
i cant resume bpm service after add my bdm.
(bdm imported successfully and tables was created in db)
here is my error in protal :

`org.bonitasoft.engine.exception.BonitaRuntimeException: USERNAME=install | org.bonitasoft.engine.transaction.STransactionCommitException: javax.transaction.RollbackException: ARJUNA016053: Could not commit transaction.`

and my log file is :

Composition relationship BDM

Hello,

I'm using Bonita 7.3.1, and I'm using BDM for the business data.

I have read that if I set a relationship between BDMs as "Composition", the child only can exist if the parent exist, so I suposse that if the parent is deleted, the child must be deleted in cascade. But when I have done a test, if I tried to delete a parent, a error message is shown because I am violating a constraint for the foreign key.

What would I do for define a cascade delete for the relationship?

Thanks

Problem binding dropdown with BDM

Hello,

I'm using Bonita 7.3.

I have created the following BDM:

  • Notificacion (BDM Object)

    • codigo (String)
    • descripcion (String)
    • obligatoriedad (BDM Object)
  • Obligatoriedad (BDM Object)

    • codigo (String)
    • descripcion (String)

At the beginning of the process, I initialize a process var type "Notificacion" from BDM with an operation (with "findbypersistenceid").

Doubts with BDM use

Hello,

I have used Bonita 5.10, and now I'm starting with Bonita 7.3. I have testing the BDM, but I have some doubts:

  • BDM replace the use of any other external bd with his own model? I have to implement some processes for notifications management (register, management, execution...), and I will need consult this notification from an external page through API. Using only BDM I can store all data asociated with notifications?

Dudas con el uso del BDM

Buenos días,

Era usuario de Bonita 5.10, y ahora estoy comenzando a utilizar Bonita 7.3 y estoy haciendo algunas pruebas con el BDM, pero tengo algunas dudas:

  • ¿BDM sustituye el uso de cualquier base de datos externa con su propio modelo? En mi caso tengo que implementar varios procesos de gestión de notificaciones (alta, gestión, tramitación, etc.), y luego necesitaré hacer consulta de estas notificaciones desde una página externa a través de la API. Con el BDM simplemente puedo hacer el almacenado de todos los datos vinculados a las notificaciones?

could not get a field value by reflection getter

hy, i have this blem

USERNAME=walter.bates | org.bonitasoft.engine.persistence.SRetryableException: javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: could not get a field value by reflection getter of com.company.model.Devise.persistenceId

i want just init my bdm with data

Populate BDM using 7.3

Hi

I am new to BonitaSoft and really enjoying it!

I have created the BDM structure and I would like to populate the tables from a csv file. Can someone point me in the right direction, the documentation isnt clear on doing this.

Thanks

BDM & Stored Procedure

EN=
I wonder with the arrival of BDM, if I chose as RDBMS (postgresql) for example. es that I could run stored procedures directly in the database. Because I do not know if the BDM have the same basic architecture as a normal relational data. foreign key etc.

FR =
j'aimerais savoir avec l'arrivée des BDM, si je choisit comme SGBDR (postgresql) par exemple. es ce que je pourrais exécuter des procédures stocké directement dans la base de donnée. Car j'ignore si les BDM ont la meme architecture qu'une base de donnée relationnelle normale. clé étrangère etc

Notifications