BDM API

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.

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).

Notifications