How to develop a widget type select with the name Select1 passing variable to Select2 in form? (drill down, dependence between widget)

Group; I'm using BonitaSoft Community version 6.5.2 ;

I have the following challenge:

Make a Select type widget with the name bd_mnt_niveis1 be criteria to display values ​​in the widget name bd_mnt_niveis2 (Type a drill down or dependent list) and so then to bd_mnt_niveis3 as below:

image I have the variables in the Pool:

Data type: Objeto Java Class: java.util.List Is multiple

Steps to enable Active Directory on Bonita 6.5.X Community

All the info I found about that where too ambiguous, not useful by itself. Something like "make an Authentication Service Implementation by yourself". So I searched a lot and found some way to make it working. I write the steps here: (Disclaimer: Use at your own risk, I'm not responsible for any problem/damage direct or indirect.)