Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect) error


I have a problem, I get this error:

Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect)

I understand what it causing the problem, or rather i think i understand.

is it possible to modify BDM variables in an application page?


I'm looking for a way to modify a bdm variable in an active case from an application page.

I can access the variable with the REST API using the case context but how can I make the update in the database when clicking on a button?

Is it possible or do I have to use a Process Task in order to update a BDM variable?

Is it the same problem with the case variables?

How to update composition BDM with Groovy Script?


I created composition BDM and add all contracts using by the groovy script

Once I return the BDM I need to update all contract, so, I added update groovy script, however, I got the error,

Please help me what is the error to indicate.

Thanks in advance

This is the addall operation groovy script

def testTimerList = []
//For each item collected in multiple input
boolean status = false;

[RESOLVED] Migration and update process


I'm going to migrate the engine to Bonita 7.3.0, it was before in 6.3.7.

Since no modifications are necessary for my process, I undestand that no update for them are necessary in Bonita studio.
But when it will be necessary to change one of them (and then change version for example 1.0 to 2.0), will it be necessary to update process (in Bonita 7.3.0) which are dependant of the one to be modified ?

In other words, a process modified in Bonita 7.3.0 could continue to call (by callling activity or by message) process create in Bonita 6.3.7 ?

Update BDM From API Rest Extension


Do you know if there is a way to update Business Object from my BDM inside a Rest API extension ?

If yes, where can i find exemples ?



Help with REST API Bonita studio 7.1

Help please.
I'm working on bonita studio and bonita server, and i''m trying to create a web application with a workflow.
My problem is that i'm using the REST API service and i'm using the method : Update activity variables for bonita 7.1

Is a Postgres/SQL UPDATE statement limited to a maximum length?

Hi all,

I am using a sql update statement like this in a Groovy Out connector:

"sql.execute("UPDATE table SET col3=$bdmvar3, [and another 40 variables...].WHERE col1=$bdmvar1")"

The length of this statement is approximately 1300 characters. When I try to execute it, I get this syntax error:

Caused by: org.bonitasoft.engine.connector.exception.SConnectorException: java.util.concurrent.ExecutionException: org.postgresql.util.PSQLException: ERROR: syntax error at or near "is" Position: 588

Where i can get simple View, Insert, Update, Delete tutorial using bonita with MySQL?

Hello... i'm still newbie with Bonita, I need tutorial how to make web service using bonita to View (in table), Insert, Update, and Delete data from MySQL database using JDBC Connector.
Where I can get the tutorial?
Tutorial with any bonita version 7.x, 6.x, 5.x will much appreciated...

[SOLVED] How to update user with API Identity

Hi ,
I can not update a user's data with the API Identity .
Here is my code :

import org.bonitasoft.engine.api.IdentityAPI;
import org.bonitasoft.engine.identity.User;
import org.bonitasoft.engine.identity.UserUpdater;

aUser instanciation...

UserUpdater updateDescriptor = new UserUpdater();

try {

Update a row in a business object


I would like to update a row in my business object. How can I do that ? If i use transient data I modify the list but not the actual object.

I'm using the default h2 database.

Thanks for your answers,