Dynamic URL in the body of a Email connector

Good morning
i want to do this in Bonita: send an Email with a link to my ERP in its body. This is the static URL of my ERP:

Connector related to the TAKE operation and not to the Submit one in a task

Good morning
When i use a connector out for example, that connector is related to the Submit operation in the workflow. I want to know if it is possible to relate a connector to the TAKE operation, that comes before the Submit one.
Thank you very much.

Does there exist a way to make 'Connector In' and 'Connector Out' fields have a compulsory script for every task?

I want my workflow designer to always use 'Connector In' and 'Connector Out' scripts at every station to check the inputs and outputs at the station. Is there a way to make a validation that checks this and prompts them accordingly?
If not, can I make an API call to the bpm so as to automatically make a boilerplate connector in and out groovy script whenever a new task is created?


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

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)


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 ?


I have JSON data like :
"StartDate": "2018-08-30T00:00:00",
"EndDate": "2018-09-07T00:00:00"
"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