Hi Christian,
first this is a community - we all have work to do and do not get paid for contributing here (except those how work at Bonitasoft and they are not always here). Please do not get me wrong but we are more likely to help someone who has tried something than someone who obviously has not.
We do this out of the goodness of our heart, we get nothing…except some little recognition.
We all need to learn and the most important thing to learn is:
give a man a fish and you feed him for a day; teach a man to fish and you feed him for a lifetime
so if we give you the solution you will only use it for your dissertation but you will effectively learn nothing. We want you to learn and then use it forever. But that comes at a cost, you have to show us what you have done and then when there are problems we can help.
Harsh - maybe - realistic - absolutely.
I do not work for Bonitasoft just to make things clear.
However to get you started:
Who knows the step by step and sample code in inserting data into database and how to view the content of database in the UI Designer.
I’ll show you how to use a connector first…to read
- Create a new diagram, rename it
- Change the diagram name to something meaningful
- Click on the pool->data tab and add a process variable myName, type text, default value Christian
- Click on Step1 and change it to a Script Task
- Click Execution->Connectors In->Add
- Select Database->yourDatabase
- Give a name->next->next
- give the necessary details->next
- In the Query add the following
select * from myTable where name = ‘{{myName}}’
- click next->next
- click the left box and create a new variable of type list
- then select the variable (double click) → Finish
You can now execute this to get all records from yourDatabase with column contents ‘Christian’.
To Insert you can change the Select statement to Insert…
For the rest - sorry but the community expects you to do something first then, when you have issues, ask.
regards
Seán
PS: While I understand this may not be the answer you’re hoping for, it does indicate a possible route to the solution, please mark as resolved.
PPS - the above select will of course not work - you have to resolve all details as to the data source and how to process the results.