REST

Get connectors of a process Instance through REST

I want to retrieve the connectors attached to a process Instance. I'm trying with this: /bonita/API/bpm/connectorInstance?p=0&f=caseId={caseID}

but the filter does not work. I know the documentation doesn't refer to this filter (http://documentation.bonitasoft.com/?page=bpm-api#toc33), but I can't seem to be able to get the connectors of only that process instance any other way. I have tried /API/bpm/connectorInstance?p=0&c=10&f=id%3d{caseId}, as suggested in the docs, but with no luck.

Know all the inputs in a form

Hi all,
Is there a way to know all the inputs in a form, either mandatory or not, through the REST API? Bare in mind that I know how I can obtain the mandatory inputs (using the task contract), but I want the the not mandatory ones aswell.
Thanks in advance

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

Retrieve a comment on a case by REST API

Hi,

How can I get/post process comments by rest api.
I could not find anything in the document v7.2, But I found this page (v6.0)

bpm >
comment: A comment attached to an active instance of a process.
archivedComment: A comment attached to an archived instance of a process.

How to use bonita forms in external app

Hi,

I want to create custom application with use of bonita software, I already know that I can communicate with bonita via Rest API but I need to know how to display forms created in UI Designer in my application (via Rest API method ?). I wander whether it is possible to create application outside bonita world which will use all bonita features.

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

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: http://www.example.com//target-api-1/service/perform (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/{{ $item.id }}/test

Notifications