Insert user in H2 by UI Designer
I need to create a user registration system in BonitaSoft, I know that it is possible to add Organisations and user in the studio organization manager of BonitaSoft Studio, however I need to be added in H2 by the UI Designer interface, how can I do this? I dont know how to configure a connector to add data in H2, is there any configuration pattern? Any hint will be welcome, I have never worked directly with H2 only with BDM for this reason I do not know how to configure a connector to access the H2
I would strongly recommend against inserting data directly in the Database as you can corrupt it and make your engine unstable.
In your case, you should just use the REST API identityAPI to add user in the organization. You have documentation here.
Thanks for the tip, in fact I was asked to create a user registration system so that through this registration the users were registered the same way that they are registered normally by the studio, this is possible without harming the integrity of the H2 will be?
I know this does not directly involve this question, but would you be able to tell me if I can use the autocomplete field and pull its data to save in a process variable? I ask this because I always use dropdowns to display the contents of BDM and according to what the user selects return to the studio the code of the selected item, however in the autocomplete I can not just get the code of the selected information, this is possible or I am obliged continuing to use dropdowns, this will be extremely important for my user registration system.