I've enabled the data-audit extension as I migrate to Kogito 10.0.0 and have hit what looks like a length limitation on variable size. See exception:
2025-02-16 14:56:59,784 xxxx ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper:150] (executor-thread-4) ERROR: value too long for type character varying(255)
2025-02-16 14:56:59,789 xxxx WARN [com.arjuna.ats.arjuna:356] (executor-thread-4) ARJUNA012125: TwoPhaseCoordinator.beforeCompletion - failed for SynchronizationImple< 0:ffffc0a80265:8733:67b18b96:40, org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization@776a398c >: org.hibernate.exception.DataException: could not execute statement [ERROR: value too long for type character varying(255)] [insert into process_instance_variable_log (business_key,event_date,event_id,parent_process_instance_id,process_id,process_instance_id,process_type,process_version,root_process_id,root_process_instance_id,variable_id,variable_name,variable_value,id) values (?,?,?,?,?,?,?,?,?,?,?,?,?,?)]
I suspect this is due to a java object that I have as a process variable.
Looking at the data-audit code I'm assuming this is due to the variable value being a String, which defaults to a column size of VARCHAR 255.