LogCleanupCommand executor command cleans up data for active processes in JBoss BPM Suite 6

Solution Verified - Updated -

Environment

  • Red Hat JBoss BPM Suite (BPMS) 6.4.x

Issue

  • LogCleanupCommand executor command cleans up process logs associated with active processes;
  • LogCleanupCommand cleans up data from variableinstancelog and nodeinstancelog tables associated with active processes. Only processinstancelog is filtered by status completed and aborted in LogCleanupCommand class.

Resolution

This issue has been fixed in Red Hat JBoss BPM Suite 6.4 Update 3 or latest version. Please apply the latest update and try again.

A workaround for previous versions would be to use ForProcess or ForDeployment parameters when creating the JOB:

ForProcess: Process definition id that logs should be removed for;
ForDeployment: Deployment id that logs should be removed for.

Root Cause

RHBPMS-4623 and RHBPMS-4622 are the related jiras.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments