REST - Initialization Form - best way to get last BDO?

What's the best practice method to get the most recent (previous) BDO into the Initialization Form?

JPQL is short of many functions, not least get 1 record

  1. Select Top 1 * from table t order by t.somekey

I've tried

How to use REST connector

Hello everyone.
I want to connect with REST server within REST connector.
URL: (method POST)
JSON parameter (in body section)
"target-name": "bonita",
"method-name": "test-1",
"params": {
"name ": "sample - name ",
"family ": "sample - family "
After test, show this message

Connector execution is successful but has no output.

Using Bonita BPM for REST microservice orchestration

At my company, we have a software program that exposes many small bits of functionality through a REST API. In order to perform a specific task through that API, you need to combine several calls.

We are now looking for a solution that allows us to model that logic (the combination of calls required for a specific task) in a visual way. Conceptually, a BPM tool is a good way to achieve this and Bonita seems like a really good candidate. It seems really powerful and very extensible, which we like.

Change password via REST not possible for non-administrator / HTTP 403 Forbidden

Hi dear community,
I've built a Live Application that is called "Set your password".

This live application just has two input fields and one button.
The button sends the request to the Bonita API via put.

The payload is generated via Javascript:
var payload = { "password": $data.newPass, "password_confirm": $data.newPassRepeat };

The API is called via:
../API/identity/user/{{ userId.user_id }}

If I use this as an administrator, it works, as a user I get a 403 forbidden error. Why?

Living Application: Display of list of tasks and the value of their variables

Hi folks,
let's see if you have an idea for this.

I am building a living application. One container repeats over a collection.
I get that collection via API like this:
../API/bpm/activity?f=name=Artikel bewerten

(besides: How can I filter for only type=user_task?).

Now, for every activity that is returned, I want to retrieve an activity variable with a specific name ("test").
I've created an API call for that like this:
../API/bpm/activityVariable/{{ $ }}/test

External app via Bonita REST API?

Is it possible to access Bonita REST API through an external application? (On a different Server and Port ej. Ruby on Rails or Django app)

I've already tried to to this with ngBonita however there is a problem when trying to consume the cookie in "Set-cookie" header from a different domain.

Has anyone tried something similar?

Group that can be duplicated, dynamically

My client requirement is that, after selecting an item on a Select list, he can upload files and descriptions according to that selected item. The idea is to dynamically populate a group that can be duplicated, with the requested data. But as I've seen on Bonita, it doesn't seem possible to dynamically change the amount of group items. How can I achieve this? And, is there any way to consume a REST service from Bonita? Thanks.

Also, I can't find anything useful about Iterate (a practical example) on the documentation, is there any example of this?

Bonita bundle 5.10 REST


I am using bonita 5.10.2, i did this configuration in jaas-stantard.cfg :

/** configuration **/ BonitaStore { org.ow2.bonita.identity.auth.LocalStorageLoginModule required restUser="admin" restPassword="bpm"; };

BonitaRESTServer { org.ow2.bonita.identity.auth.BonitaRESTServerLoginModule required logins="admin" passwords="bpm" roles="admin"; }; /** **/

when i try to get informations by this url :

Get form with REST API


Is it possible to retrieve form (created with the studio) with REST API in order to show them into an other page.

In the documentation, I saw that we can show a page we previously add to the portal but nothing about forms.

Did you implement anything about this since 6.x ?

Cause it seems like it was impossible to do this with 5.9 :


standalone Java client with bonita-client-5.9.jar works but the same Java client in JBoss 7.1 does not work

A standalone Java client built in with bonita-client-5.9.jar library works fine but when the same Java client is moved to the JEE architecture running on JBoss 7.1 environment does not work. Show log message: Password Incorrect/Password Required

Java code: