Font Size:
Ask Joget AI

Completed Processes

The Completed Processes section lists all finished processes, allowing administrators to review historical data for each instance. This feature is essential for auditing, performance analysis, and ensuring the integrity of completed workflows.

Administrators can click on any process instance to view its comprehensive information, including state and statistical data. For more information, see  Completed Process Instance.

Auto archive

Automatically archives the completed processes to achieve better operational performance.

The purpose of the Archive Process On Completion feature is for faster performance when Joget works with the SHK process tables for active processes by keeping the main SHK tables small. Process archiving on completed processes moves the process records to the following DB tables: wf_history_activity, wf_history_process and wf_process_link_history. The archived processes are still accessible in the Admin Bar > Monitor screen or via database queries on the above process history tables.

Latest updates/changes:

  • Joget uses an internal setting to keep track of the archiving status.
  • The Archived Processes page will display the archive progress and have a new button to pause and resume the process migration.
  • You will run the migration thread with a batch of 10 processes.
  • When the migration status last run is longer than 15 minutes with no update, Joget will pause it and allow the user to resume later.

Enable Auto Archive

There are 2 ways to enable Auto archive or Archive Process on completion

  1. Click the Enable button to enable Auto Archive. Alternatively, you can select Archive Process On Completion under the Process Completion Data Handling tab.



    The Enable button in the Monitor > Completed Processes screen migrates (moves) all existing completed process records to the history tables. You should recommend performing the Enable after office hours, as depending on your system's number of completed process records, this will cause your Joget database to be very busy.
  2. Select Archive Process On Completion under the Process Completion Data Handling tab.
    Go to Administrator Bar > Settings > General Settings > Process Completion Data HandlingArchive Process on Completion.

    When you set the General Settings Archive Process On Completion property, it will archive all completed process records. Process archiving on completed processes moves the process records to the following DB tables: wf_history_activity, wf_history_process and wf_process_link_history

    Enabling the 'Archive Process On Completion' option will initiate the data migration process to transfer completed process data to the historical tables immediately after saving. It is advisable to schedule this operation during non-peak hours for optimal performance.

Important

  • Always BACKUP your Joget database and Joget folders before performing the above, so that you can restore the data if needed.
  • TEST on a development server for the General Settings Archive Process On Completion property change before doing the same on the production server to ensure your apps are working well.

Completed Process Instance

In the Completed Process Instance view, administrators can see the overall state, statistical data, and the list of activities associated with a completed process. This view provides a comprehensive understanding of the process flow and outcomes.

Actions Available:

  1. View Graph: Displays the workflow diagram for visual representation.

  2. Remove Instance: Permanently deletes the process instance along with its data.

By clicking on specific activities within the process instance, administrators can view detailed information about each activity, aiding in thorough analysis and review. (See Completed Activity Instance).

Completed Activity Instance

The Completed Activity Instance view allows administrators to see the state and statistical data of a particular completed activity instance. This detailed view helps understand the performance and outcomes of specific activities within a process.

Deleted Completed Processes

You can delete a process by checking any unwanted process from the list and clicking Delete. Additionally, the Batch Remove All Completed Process Data feature allows administrators to permanently delete all completed process records from the system in a single action. This feature is only available for "Retain Process On Completion" mode. This feature helps reduce database size, improve performance, and maintain system cleanliness, especially in environments with a high volume of completed workflows.

Important: Once deleted, process data cannot be restored. Ensure necessary backups are taken before performing this action.

Accessing the Feature

  1. Navigate to Monitor > Completed Processes from the Joget App Center or the Admin Console.
  2. The Completed Processes page lists all process instances that have reached completion.

Using the 'Delete All Processes' Button

At the bottom of the Completed Processes page, you will find a button labeled Delete All Processes.

  • Clicking this button initiates the batch deletion process for all completed process data in the system.
  • Once started, a system info block will appear on the screen to indicate that the batch deletion is in progress.

Batch Deletion Management Controls

During the batch deletion process, administrators can manage the operation using the following controls within the info block:

  1. Pause: Temporarily halts the deletion process.
    You can Resume it later to continue deleting the remaining completed process data.
  2. Resume: Continues the deletion process from where it was paused.
  3. Abort: Stops the deletion process entirely.
Any process data deleted before aborting cannot be recovered.

These controls provide flexibility for administrators to manage system resources and avoid overloading the server during maintenance operations.

Completion Status

When the batch deletion is complete:

  • The info block updates to show that the deletion has finished.
  • You can click Dismiss to remove the info block from the interface.

All completed process data will now be permanently removed from the system.

Notes

  • The feature only affects completed process data. Running or pending processes are not impacted.
  • This operation is irreversible. Deleted data cannot be recovered.
  • It is recommended to perform this action during off-peak hours to minimize performance impact.
  • Regular batch cleanup helps optimize database performance and reduce storage usage. This only applies to the Retain Process On Completion mode.
Created by Aadrian Last modified by Debanraj Ravindran on Apr 24, 2026