connect a task of a process to a mysql database to consult a data

Good morning, I am working with camunda model, setting up a process to deploy in camunda 7, and my question is whether a task can be connected to a database that queries the status of a product, for example.

and that configuration that can be done by camnda model and version 7 of camunda

Hello @Rafael_Ibarra !

I didn’t quite understand your question…
Are you wondering if Camunda can fetch data from an external database?

If so, yes… you can do this without any problems.

If you use the Camunda embedded Spring implementation for example, you can define a second data source in your, or application.yml… and through a class that implements the Java Delegate, you can access the database external data through a service task.

I hope this helps!

William Robert Alves