setVariable and get variable

Hi
I’m using
execution.setVariable (“variable_del_form”), obj.getDato ());
and that works to pull data from the database and display it in an embedded form
but HOW CAN I SAVE IN THE DATABASE INSTEAD OF CALLING THE DATA?
I want to know if as well as data is pulled to the form with that line, there is an opposite to send to the form and instead that it saves in the database

Hi,

Why do you want to write to the database?

The Method you are using is setting a Variable in the current workflow instance.

Could you please provide some basic context like an example Bpmn-Model, Code … and the goal of your effort.

Best regards,
Clemens