Kogito + Quarkus persistence: process data deleted after completion

54 views
Skip to first unread message

David Mateus

unread,
Sep 24, 2025, 9:04:05 AMSep 24
to Kogito development mailing list
 Hi everyone! I'm having an issue with data persistence in Kogito. Kogito automatically creates tables to store process data, but when the process ends these tables are deleted. I need this information to remain available after the process finishes, so I need the data to be saved even after the process ends. Can anyone help me with this?
PS: I'm using the persistence dependencies and I've already checked the documentation examples about Quarkus + Kogito persistence with PostgreSQL  

Alex Porcelli

unread,
Sep 24, 2025, 9:26:38 AMSep 24
to kogito-de...@googlegroups.com
My input from Zulip:

"can you please clarify your setup?

you don't necessary need to use the dynamic database creation. you can
disable that and create manually. and data should be preserved for
sure."

On Wed, Sep 24, 2025 at 9:04 AM David Mateus <david....@icarotech.com> wrote:
>
> Hi everyone! I'm having an issue with data persistence in Kogito. Kogito automatically creates tables to store process data, but when the process ends these tables are deleted. I need this information to remain available after the process finishes, so I need the data to be saved even after the process ends. Can anyone help me with this?
> PS: I'm using the persistence dependencies and I've already checked the documentation examples about Quarkus + Kogito persistence with PostgreSQL
>
> --
> You received this message because you are subscribed to the Google Groups "Kogito development mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to kogito-developm...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/kogito-development/cac079ed-0886-4e17-9281-a85c80dea5cfn%40googlegroups.com.

Amit Kumar

unread,
Sep 24, 2025, 10:59:42 AMSep 24
to kogito-de...@googlegroups.com
Hi, David, For spring boot, I use -
# Enable process instance logging (audit) for postgres
kogito.persistence.process-instance-log.enabled=true
kogito.persistence.user-tasks.enabled=true

# Keep completed process instances in the DB
kogito.persistence.delete-process-instance-on-completion=false

On Wed, Sep 24, 2025 at 9:04 AM David Mateus <david....@icarotech.com> wrote:
 Hi everyone! I'm having an issue with data persistence in Kogito. Kogito automatically creates tables to store process data, but when the process ends these tables are deleted. I need this information to remain available after the process finishes, so I need the data to be saved even after the process ends. Can anyone help me with this?
PS: I'm using the persistence dependencies and I've already checked the documentation examples about Quarkus + Kogito persistence with PostgreSQL  

--
You received this message because you are subscribed to the Google Groups "Kogito development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kogito-developm...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/kogito-development/cac079ed-0886-4e17-9281-a85c80dea5cfn%40googlegroups.com.

---

This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary, confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify the sender and erase this e-mail message immediately.

Le présent courrier électronique (ainsi que les pièces qui y sont annexées, le cas échéant) s’adresse au destinataire indiqué et peut contenir des renseignements privilégiés, confidentiels et/ou dispensés de divulgation.  Si vous n’êtes pas le destinataire de ce document, nous vous signalons qu’il est strictement interdit de le diffuser, de le distribuer ou de le reproduire.  Si ce message vous a été transmis par erreur, veuillez en aviser l’expéditeur et le supprimer sans délai.
Reply all
Reply to author
Forward
0 new messages