Bonita 7.7.4

Problems getting file id in start script

Hello,

Currently I use BonitaStudio 7.7.4 and I have a human task with a form with multiple data to which a file can be loaded.

Create a multiple document that takes its value from the variable declared in the contract.
I want for each multiple record to store the id of the document so that in the next task I can show each multiple data in a table with its associated document.

I am using this code within each:
Document doc = apiAccessor.getProcessAPI().getDocument(processInstanceId, currentComisionMensualDetalleInput.documentoAsociado).getId();

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.

Notifications