rest api

Create BPM process using REST API

I've been reading through the REST API documentation on using GET to query the values of various process objects, and PUT to update the values of various process objects, but there seems to be no POST or similar method to build a process using the REST API.

Is the REST API restricted to only being able to update processes objects after they have been manually drawn, or can you build processes via the REST API too?

Custom Login with PHP using REST API

Hi friends,

I'm trying to log in Bonita with PHP calling the loginservice API.

I have an html page with the controls, then when in the page press "Log in", I call the php function to call de API with the user credentials.

Then I return something like this to the html page:

Get html of form of a task via API

Hi everyone,

I have a human task to which I defined a form through the editor. Is there a way to obtain the html code of such form via the REST API?

Edit: I tried 3 different ways to get the html form throught the API:

Time out exception

Im trying to delete a very large case and the rest api is giving me a QueryTimeoutException.

Im not sure if for this case I have to modify the database time out setting or if there is a way to modify the Bonita Rest API time out.

Hope someone could help me out.

Regards,

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

Notifications