RestAPI

Case Overview (archived case) : how can I access variable (BDM/Process)

Hello,
In general, I used the RestApiContext, which solve all theses questions.
But here, I have to analyze all the different options.
In a process, I have a BDM (let's say "invoice") and a process variable (let's say "commentOnInvoice").
I want to display in my case Overview these information.
------------------- Documentation
Reading https://documentation.bonitasoft.com/bonita/7.11/uid-case-overview-tutorial, I used the REST API

Use local and process variable in form

Hi, i tried to use process variable in UI Form. To do this i used Bonita REST API for:
localVar ../API/bpm/activityVariable/{{task.id}}/localVar
processVar ../API/bpm/caseVariable/{{task.rootContainerId}}/processVar

[localVar] - Bonita process local variable (for task), of BDM Type.
[processVar] - Bonita process variable, the same type as above.

BDM Type
com.samplepackage.SampleObject
attr1 - string
attr2 - string
attr3 - int
attr4 - string

How to call the BDM API through AJAX from JavaScript Expression in UI Designer?

Hi,
I am using Bonita version 7.7.4.

I want to call the BDM API from the** Javascript Expression** through AJAX to get the specific data through query if a specific field is selected.

For now, I am doing this by creating a variable of External API in the UI Designer to get all the data from BDM in those variables.

Looking forward to an answer.

Cómo autorizar al perfil Usuario para acceder al valor de las "activity variables" desde un formulario?

Hola,
Recientemente he notado que no puedo mostrar los valores (solo de lectura) de las "activity variables" en los formularios desde el perfil Usuario mientras que desde el perfil de Administrador no hay ningún problema. He seguido la documentación y otros posts en el forum para poder dar autorización al perfil Usuario.

How to authorize the User profile to access to the value of the activity variables from a form?

Hello,
Recently, I noticied that I couldn't retreive the values of the activity varaibles (read only) in the forms from the User profile whereas the Administrator profile could see all the values. So, I've been following the documentation and other posts in the forum to authorize the User profile to access them.

How to authorize the User profile to access to the value of the activity variables from a form?

Hello,
Recently, I noticied that I couldn't retreive some values (read only) in the forms from the User profile whereas the Administrator profile could see all the values. So, I've been following the documentation and other posts in the forum to authorize the User profile to access to the value of the activity variables from a form.

401 unauthorized for /API/platform/licence

Hi,

I'm using Bonita 7.2.1. I want to access GET|/API/platform/licence rest API. So I call POST|/loginservice with technical user(install) followed by GET|/API/platform/licence but I get 401 unauthorized error.

Please let me know what is missing.

Connector wont execute on REST call

Hello, i'm currently developing a C# client where I need to instance some process via REST API. I have no problem executing any task with contracts, but when any userTask has a connector (specifically a rest connector to another server of mine), this won't execute and its skipped while the task is completed sending me a success response (Code: 204). However, if I perform the tasks on the portal every connector works perfectly.
The method i'm expecting to execute both the task and connector is {API/bpm/userTask/:taskId/execution} sending the correspondent json with the contract.

how do i use my custom connector inside the restApi

hi guys
i have connector for create log inside of business data ( my connector start process for save new log)
i have restapi . the duty of this rest api is to assign and unassign task to specific user .
i want to use that connector inside of this rest api so i can have the assign logs .
i exported that connector and add as dependency inside of rest api dependencies

org.mycompany.connector
LogConnector-impl
1.0.0
provided

Filter Archived Human Task by Process Name

Hi every body,

I need write custom rest API for filtering archiving human task with Process Name.
Once I do, but result not exactly true same as Bonita API "/bonita/API/bpm/archivedHumanTask?p=0&c=10&o=reached_state_date DESC&f=assigned_id=4&f=state=completed&d=rootContainerId".

This is my code :

Notifications