rest api

Bonita API autentication for create messages not working

Hello~ I'm developing an flow for register menbers and have to wait the flow while the user save the data in other backend application~

Then I'm using "Catch message" task for wait the message and my backend notify using the processInstanceId as Correlation (in the future, now no for testing/development).

Then I'm creating the next curl as testing and response Status 204 (OK - Not content):

How to retrieve active tasks or cases relative to a BDM record by it's persistenceId

Hi all,
Is there a way via REST API to retrieve all active tasks or cases relative to a BDM record, via its persistenceId?

Let me briefly explain what I have to do:

Using loginservice API with Bonita HTTPS

Hi community,

We have an installation where the url of Bonita Portal usage is https and port 8443.

I try to use this REST API loginservice in Postman but it asks me to disable SSL.

Does anyone have a roadmap on how to connect to Bonita to authenticate over https or what can I do?

Iteration en mode (multi – instanciation) from data coming from a connector (extension)

Hello,
I am new to Bonita Community Edition on version 2022.1
In the context of a process, I would like to be able to iterate sequentially (multi - instantiation) on a task from the data returned by a connector.
I have implemented a connector that returns a list of plein java beans (class ch.eri.orp.thirdparty.entity.AddressCondition) which is stored within a process variable named addressCondition.

¿Cómo configurar el método GET por API REST para obtener contenido de mensajes de GMAIL?

Necesitamos obtener información desde Gmail, para ello hemos utilizado la opción GET del API REST de Bonita. Hemos ubicado los datos brindados por el API de Google (ID de cliente y Clave secreta). Cuando efectuamos la prueba desde la interfaz de Bonita nos arroja el siguiente error:

How to configure GET method by REST API to get message content from GMAIL?

We need to obtain information from Gmail, for this we have used the GET option of the Bonita REST API. We have located the data provided by the Google API (Client ID and Secret Key). When we run the test from the Bonita interface, it throws us the following error:

Rest API List all results

Hello community,

In previous versión of Bonita Community (V7.5) when I made a request to an endpoint I could send p=0&c=0 and it would return all the results of the endpoint.

Recently I migrated to the latest version (V11) and I noticed that all of my request are returning an empty array it seems that I cant use pagination 0 and content 0 anymore.

What I did was to change my request to use p=0&c=100 and is working right now but I wonder if there is a better way to get all the results of an endpoint?

Thanks,

Url "documentdownload" does not works in my <iframe


Hello

I have a process with an overview. In the overview, I download a document via an HTTP link
"/bonita/API/"+ contextbdm.grandparent_ref.url

On the portal, I can access a case. From the case, I access the overview; then, I upload the document. Url is
http://localhost:9080/bonita/API/documentDownload?fileName=aDoc%201.pdf&...
HTTP code= 200 / I received the content.

is it possible to access process parameters from instantiation form

Hi,

I'm trying to initialize some lists in my instantiation form using process parameters.

I've tried to use the Rest API :

../API/bpm/processParameter/{{processId}}/myProcessParameter1

To retrieve the process ID, I tried to use :

../API/bpm/process?f=name={{nomProcessus}}?f=version={{versionProcessus}}

with

nomProcessus as a string = liaison TE ATA 2 ou LLO fibre dédiée

and versionProcessus as a string = 1.7

but I get no data.

Am I doing something wrong or is it impossible?

Retrieve data using a REST API to our school database

Hello all,

I work for a school and we are using a very big system for the management of all our teachers, students, courses, and so.

I'd like to work with Bonita to to automate some processes. I can access my school database using ar rest api. With it, I first have to authenticate then I'm gonna get a token. Finally, I will be able to query my database by asking it to send me the result of a query in the form of a json file.

Notifications