API

Unable to get button on app page to start process or open Instantiation Form

On my app page, I've created a button to start a new order, which should initiate the process by opening the Instantiation form. My page is based off the travel request tutorial. I found some other threads regarding similar issues.

Sort records from API Call

The documentation shows the 'o' parameter in the API call to order multiple resources records (http://documentation.bonitasoft.com/?page=rest-api-overview&hash=resourc...).

Is this overruled by the Ordered By part of the BDM's query? Or perhaps I just have the syntax wrong?

How can I stop message debug when calling API Engine ?

Hi,

Since I have migrate Bonita between 6.3.7 to 7.3.0, when I call API Bonita, I have message debug for the HTTP request made by these call...

Rest api Start a process using an instantiation contract gives 415 Unsupported Media Type

Hi...

I am trying to use REST for start process but bonita returns error 415 Unsupported Media Type. I am using jquery for do it

My actor filter need access to the BDM

Hello

I am writing an actor filter that needs access to the BDM.
I am struggling with the BusinessObjectDAOFactory as createDAO method need an APISession parameter. My problem is that the APISession seems not to be accessible from the filter method.

Here is my code:

starting a process

Greetings

I have a dabase outside bonita (SQL), and i need to initiate the process automatically, when new data is added to the SQL database. I got an api to get the data, but no idea of how to start a process without human interactions.

thanks

Mauro

Access process variables from instantiation form (7.2)

Hello

I am new to Bonita BPM so maybe I am not doing the right thing but here is my scenario.

I want to create a process and I need some reference values from our ERP (Oracle database). Those reference values are only revelant during the process execution so I created some process variables and a in-connector that populate the process variable

The question is I do not know how to access the process variables from the instantiation form. I looked at the BPM api but being an instantiation form there is no caseId I can use.

So two questions:

Is there a connector to call RESTful webservice just like the SAOP webservice connector ?

Is there a connector to call RESTful webservice just like the SAOP webservice connector ?

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?

How to map ID of CaseID from a sucessfull form submit?

Hi, i'm using bonitasoft 7.1.5 and i'm trying to map the Caseid from a successful form Submit to get the id of the next task in the list. In theory it works, when i press submit in the form i can see the caseID that i get from the request, but the variables from wich i get the id remain empty, any idea why?
Example:
* got 2 variables.
- Caseid = null
- InfoCaseID = http://localhost:8080/bonita/API/bpm/humanTask?c=1&p=0&f=caseId={{Caseid.caseId}} (empty)

Notifications