rest api

How to Execute a Inner Join using REST API

Hello
I am using the REST Sql Datasource API.
It works fine. I can execute queries and get desired output.
But I am now trying to execute a Inner join query. There is no filter condition.
Its A simple query that matches all records between 2 tables and gets all the fields.
Somehow the Inner join query is not working. I am getting internal server error.

logicalGroup2 sql exception

In our environment we are having multiple sql exceptions that reference the column logicalGroup2

Ill share with you a fragment of Bonita BPM logs:

.

How can we configure authorization to instantiate a process via REST API?

In our application, we instantiate the process via REST API. In the process configuration, an actor is set as 'initiator' configured with actor mapping. But these settings does not seem to apply the authorization to instantiate the process and any Bonita user(though not qualifying for the actor mapping filter) belonging to the installed organization was able to instantiate the process.

Thanks in advance,
Raji Malla

BDM API: how to add a filter with multiple values (OR) to the external API variable

I have an external API variable in my form which returns the count of an entity created by a particular user with one specific value for a specific attribute (tipo).

../API/bdm/businessData/com.company.model.Request?q=sumForFindByCreadorAndTipo&p=0&c=10&f=creador={{session.user_id}}&f=tipo=Nuevo%20Carnet

i need this variable to return the count this entity with any of 2 specific values for this attribute (i need to add an OR clause in the URL and dont know how to do it).

How to fetch Portal/System comments using Rest Api

Hi
In my scenario, Various users add comments to a task.
These comments can be viewed by Selecting the case and then view case details.
In addition there are System comments there as well.

Now I want to retrieve these comments and display them in a page.
Now this page is outside the portal.This is an Application page.

I believe that I need to use Web Rest API to retrieve these comments (Portal / system ) .

Kindly Suggest a method to do the following .

Regards

Accessing REST api flowNode

Hello,
I'm trying to use the redirectNextTask widget on a form and everything worked fine until I deployed the process on a testing server. On the testing server, everytime I open the task and the form gets loaded, the page gets redirected. After some debug I found that the problem was that when the script inside the redirectNextTask widget was calling the rest api /bonita/API/bpm/flowNode/16 (16 is an example) I get an HTTP ERROR 403 (forbidden access).

How can we check user permissions ?

Hi guys,

I'm trying to understand how REST API's permissions work with Bonita 7.4, if someone can provide any info it would be nice :)

So here's what I understood :

Error 500 start a case from asp.NET via REST API

I canot connect to Bonita engine to start a case from asp.net, the next is the code, the last line fails, can anybody help me:

Just in case people haven't seen this: page_gasoline : Rest SQL DataSource + Admin page

http://community.bonitasoft.com/project/pagegasoline

I was just about to fire off some questions about the "DATA SOURCE REST API EXTENSION" as it seemed to overwrite any changes I made in the query file - this looks like the perfect, easily maintainable replacement.

I'll be digging into it today.

Thanks Pierre!

Notifications