How to read &write values from a Database Table

Hi Experts,
How can i use an activity in which i can read/write values to/from DB table. Database table is my custom table in the same database schema which is used for Camunda installation.
One approach is to create a service task using ExecutionListener/TaskListener and from there connecting to database using JDBC connection.

If any other option (may be standard Camunda Implementation) please let me know.

If you are using same database for storing camunda process and your custom logic then through delegates you can query the tables using any ORM framework (camunda is using mybatis) or jdbc queries.

1 Like

Thanks @aravindhrs,

can you share any sample code, it will be a great help for me.


1 Like