UI Designer

How to use Java Objects with UI Designer

I have a very simple Java class with two Integer variables and their getters and setters.
Nothing special. My goal is a Set Data task to take two numbers for a and b (from the form) and the next task Get Data to print in the form, using class functions. I want this through setters and getters. I just cannot find an example with newer Bonita versions (in the previous versions was too easy to do something like that) about Java objects and UI Designer.

In the end, I just desperately need a tutorial about java objects + ui designer and there isn't one for newer version.

How to set the Select widget Initial value from BDM object

I want to use business data to set the initial value of Select widget.

I will explain what I would like to achieve.
In the previous task, I get the value of the Select from user and set this data in business data object, and then use this value for the Select widget's initial value in the next task, so the user does not have to select, but still be able to change the value of select if it is necessary (the actor groups in this 2 tasks are different, so this 2 user should be different person).

Is it possible to update a record in BDM by UI Designer?

I am displaying in a table in the UI Designer the information from my BDM, and I would like when changing the BDM information by UI Designer that same information would be changed in BDM too, is it possible? If so, how can I do this?

Link para Image

The image shows how my UI Designer is currently

How to display BDM in table

I need to display the records that are in my BDM in UI Designer, so far I have only been able to display what is in my process variable, through the following code:
../API/bpm/caseVariable/{{task.caseId}}/listaTransportadoras

However I need to display my BDM records in a table in the UI Designer, how can I do this?

I tried to create an API like this:

../{{context.transportadoras_ref.link}}

And I called the attributes of my BDM like this:

retorno.status

How to display BDM records in UI Designer?

I need to display the records that are in my BDM in UI Designer, so far I have only been able to display what is in my process variable, through the following code:

../API/bpm/caseVariable/{{task.caseId}}/listaTransportadoras

However I need to display my BDM records in a table in the UI Designer, how can I do this?

I tried to create an API like this:

../{{context.transportadoras_ref.link}}

And I called the attributes of my BDM like this:

retorno.status

apatil's picture
apatil
1
+1
-1
Status: 
Open

This would allow us to uniquely identify elements on the form and run front end unit tests, jquery scripts etc..

Is there a way to add 'id' attributes to the form elements in the UI Designer?

I need to know if there is a way to add ids to form elements in the UI designer.
In the 6.5 forms I was able to add my own ids to elements using the General Tab> options > HTML attributes feature on the widgets.

Problemas al mostrar un Widget personalizado con una tabla, no muestra valores

Hola a todos,
Soy nuevo en Bonita 7.2, y estoy topando con problemas para mostrar los valores obtenidos en un Widget de tabla personalizada desde base de datos MySql, cualquier ayuda serĂ¡ agradecida.

I can't populate or display data from My Sql DB in a Custom Widget Table(JSON)

Hi all

I am a newbie at Bonita 7.2, struggling with displaying values, retrieved from a My SQL DB, in a custom table Widget. I need a little help, please.

UI Designer invalid input number

In UI Designer if an input is for a number a user can input alphanumeric text. $form.$invalid is then triggered and the submit button can be disabled.

Nevertheless there is no error message associated with this input / error which leads users to seek for a forgotten mandatory input field.

It would be nice if an error message was displayed next to the input. Another nice addition (wishlist mode) would be a "regexp validation" for complex user cases (I know I can write a custom widget for this but I feel it would benefit the whole community)

Testing
Notifications