rest api

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.

Is it possible to populate a same table with data from two External API variables?

Using API routes in the UI Designer, I have set up two variables containing the properties of two types of tasks: pending and completed. Each of the variables currently displays its contents in a separate table. Since both tables represent properties from the same kind of data, a task, they both have the same fields as column keys: caseId, displayName, state, assigned_date and priority.

Is it possible to populate a same table with data from two External API variables?

Using API routes in the UI Designer, I have set up two variables containing the properties of two types of tasks: pending and completed. Each of the variables currently displays its contents in a separate table. Since both tables represent properties from the same kind of data, a task, they both have the same fields as column keys: caseId, displayName, state, assigned_date and priority.

Adding new Entity to Database from MainPage

Hi,

I have an application, that should add one row (entity) into the business data modells datatable, but from the main page.
I tried creating an insert query, but probably that is not possible. My other approach was using rest api extension, I thought it would be as easy as creating a new entity in the studio, with groovy script, but all I could create is a simple object, it wasnt saved in the database.

More general use REST API BDM search

Hi! I'd love some input and ideas, because it feels like I am missing something or thinking of this the wrong way.
I am using bonita to create the process definition, process steps and the business data models. I want to be able to search these existing BDM records via the API based on the fields that exist in the model.

Say you have 3 fields:
- DateCreated field of date type
- Comment field of string type
- DecisionStep of int type

How to fetch the contracts and BDM operations for each task using REST API

Hi
Due to an unfortunate Incident, My work Laptop crashed and now I am unable to retrieve any Data.
It contained all my Development work related to Bonita BPM.

Now I have to recreate all the Processes.

I was wondering is there any way I can fetch all the details of all the tasks.
I am trying to fetch the contracts of each task and the BDM Operations defined for each task.

Send a message event via REST API

Hello,

I have questions regarding a 7.8 new feature : the ability to send a message event via REST API.

Here's my need :
During the lifecycle of a case, I need to wait at a given point for an external backend to send back data for defining the assignee of the next task. The assignee differ from case to case.

I thought about using a receive message task (or event, I couldn't find the difference). Then the backend will send a message event (using REST API ) with the necessary data for the case to move forward.

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:

Notifications