#BusinessVariable

why do I have Unique index or primary key violation error?

Hi

When I run my process in Bonita Studio, Sometimes I have Unique index or primary key violation error. The time of this error is where I want to save an new row in BDM.
with reset engine and run it again, it doesn't work. To fix this error I have to edit PERSISTENCEID of last row in my table !!!
Do you have any idea that what's the reason of the error??

Call a business data (custom) query with multiple filter

Hey guys,
I created a table like in the "getting started tutorial": https://www.bonitasoft.com/resources/videos/getting-started-tutorial?des... and everything works fine.

But now I want to get my table filled not with items via one filter, but with two.
So the actual code looks like this and its working:
../API/bdm/businessData/com.company.model.ManuskriptEinsenden?q=findByUserAndStatus&p=0&c=10&f=userId={{session.user_id}}&f=status=abgelehnt

(solved) Initialize Business variable using process variable value

can i initialize a property of a business varible using the value of a process valiable?

The above code in the groovy script throws the exception "No contract data found named: aProcessVar"
def myvar = new myBusinessObj()
...
myvar.aBusinessVar = apiAccessor.getProcessAPI()
.getProcessInputValueAfterInitialization(processInstanceId, "aProcessVar");
return myvar

Also on a connector (input or output) i cannot update the value of a variable:
myBusinessObjectName.setaBusinessVar("test");

How do you display a business variable list (containing SQL data) in the UI table widget?

Hello

I'm quite new to Bonitasoft. I'm currently using the Bonitasoft 7.4.3 Community Edition, to use as a POC to show to my manager the capabilities of Bonitasoft in terms of a BPM offering.

I'm having issues with displaying a business variable list containing data from a MS SQL table into the UI table widget. I've gone through the tutorials on the UI and have looked at all questions and answers containing the linking of external data and displaying the data in the UI. Below is what I've done.

How to pass a business variable(or data) to a different pool?

Good evening,

I'm having a problem passing data to different pools, what i have searched, to comunicate pools you need to throw a message and receive, but i can't pass the variable through the message.
Here is a pic of the process:
Bonita process

Appreciate,
Lucas Hort

Notifications