How to force a commit during clean up job using LogCleanupCommand?

Solution Verified - Updated -

Issue

  • The LogCleanupCommand job runs into the same transaction so if any error happens then it rolls back all the process. How to force a commit during clean up job using LogCleanupCommand?
  • Can be the tables TaskAuditLog, TaskEventLog, TaskVariableLog, NodeInstanceLog, VariableInstanceLog, ProcessInstanceLog, ErrorInfoLogs and RequestInfoLogs manually clean up using delete query? Is a recommended process?

Environment

  • Red Hat JBoss Business Process Management Suite (BPMS)
    • 6.2+
  • Red Hat Process Automation Manager
    • 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content