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 (since 8.0.10):

  • 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 Handling > Archive Process on Completion.

    When you set the General Settings Archive Process On Completion property, it will only archive all future new completed process records (applies to 8.0.6 and older builds only). The old or existing completed process records will remain unchanged. 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.

Created by Julieth Last modified by Aadrian on Dec 13, 2024