#select #widget #designer #form

How to populate the Select Widget from external DB (MySQL)?

Hi there,

I am new to Bonita. I am trying to populate the select widget with data from an external database (MySQL).
I created a connector in, Set the query, Created a Variable. The output of the query is already stored in the variable. In the UI design i am getting the resultes with the following REST API : ../API/bpm/caseVariable/{{task.caseId}}/example. I named this variable newVar/

Usar mis variables de proceso en UI Designer

He creado una variable de proceso, una lista de objetos java, para poder realizar un conector de entrada con mi base de datos sql server. Ahora quisiera mostrar en un select de mi formulario creado con UI Designer los valores, pero solo me permite dar como valores de salida las variables de negocio creada con mi modelo de datos, no las de proceso. ¿Como podría mostrar dichas variables de proceso en el select?

un saludo y muchas gracias de antemano :)

How to change the available select values depending on previous input (Country - city)


I am working on a form where a user must input the countries he or she has visited, and according to the answer of this field, a list of appropriate cities loads as available values for the next select field, cities.

However, I am having trouble restricting the available values for the second field because the user can input multiple countries, and then multiple cities within those countries.

how to clear value of widget while change option of select

I have a select-widget that it depends on value of another select-widget. I wrote a js variable that clear value of slave widget and call it in changing of master widget, but it always clear value of slave widget. I just want to clear previous value .
how can clear previous value of slave widget when master widget is changing?

js variable: onSelectLab
$data.selectedlabType = null;


return true;`