#connector

In a Bonita process, how to wait for the output of a connector(which takes ~5 mins) before moving to the next task?

I need to wait for the output of a Bonita connector, and use the output to evaluate conditions, (if true or false), before going to the next task. But the execution immediately jumps to the next task, without waiting for the connector output. How to freeze Bonita process to wait for the output of a Bonita connector?

How to get a business variable to feed a REST connector request

Hello,
I try to do a Hello World process example.
The Contract of the process is a Business object (an instance of a BOM class in my case). This a class is named "com.company.Client". One string attribute 'name'. So I expect to do Hello World with the name variable client.name
The web form is generated properly using this Business class.
My problem is how to get the name attribute of the process Client instance to instantiate a REST Connector URL.
I need to do a REST GET on a HelloWorld service (which works perfect).

How to avoid using XA data source, when both the business-db and bonita-db in same host?

I'm using Bonita 7.6.1 with Mysql 5.7.

How to avoid usage of XA data source/connector when both Bonita and business databases in the same host. I've seen the non-XA datasources defined somewhere in the configuration, but I couldn't find where to specify it, so that Bonita will use the non-XA data sources.

To connect to the Database, we need to go to the database access information screen

Where i can find this database access screen? . I am unable to find it and you have also methioned about the checkinig of graphical query builder. Just let me know the methods to connect to database like postgres and mongodb or mysql.

issue with rest-get connector when status is 204 or 404 or... (empty body)

Hi,

We have a process where we are calling a web service with a GET method.

When the response is 204, or 404 and the body is empty, it breaks with an exception in the script. It seems to be in any cases when we are importing the bodyAsObject connector output in a script.

we get this stacktrace:

How can I browse a JSON with Groovy ? How to use bodyAsObject ?

Hi

I have JSON data like :
{
"Id":12,
"Title":"194",
"StartDate": "2018-08-30T00:00:00",
"EndDate": "2018-09-07T00:00:00"
}
{
"Id":13,
"Title":"195",
"StartDate": "2018-06-30T00:00:00",
"EndDate": "2018-10-07T00:00:00"
}

I used a connector REST GET but I only got the full API so I use bodyAsString.split() to get the StartDate in a variable or the Title in an other variable.
But how can I use bodyAsObject to get the list of all StartDates and the list of all Titles ?

Thank You

Accept a file from REST API

Hi
I have an ASP.Net REST API that generate and download a file to browser.
My question is, how to store that file in a document variable via connectors in bonita?

Is JasperStudio 5.6.0 compatible with BonitaSoft 7.3.3?

I would like to know if the * .jrxml file generated in Jasper Studio 5.6.0 is compatible with the jasper connector of BonitaSoft 7.3.3 because every time I point the connector to my file the generated PDF is totally white

Insert records in database and output stored data in database (SQL Server)

Hi Guys,

Who knows the step by step and sample code in inserting data into database and how to view the content of database in the UI Designer. I have 2 tables header and details. Please help. Please send sample code or sample bos file. Version of bonita is 7.4.2 Community Edition. I'm using sql server as database.

Notifications