Cleanup plugin for the folder import and Export modules
Transact uses the CLEANUP plugin to delete system files and UNC folder data once all the processing on the batch has been completed. Enable and configure this plugin from the
screen.This plugin brings the following benefits to batch class operations:
-
Improves the conversion process.
-
Improves system performance.
-
Reduces server maintenance over time, by automatically eliminating temporary files that otherwise accumulate over time.
Transact enhances the CLEANUP plugin in two primary ways:
-
Introduces support for this plugin in the Folder Import module and continues to support this plugin in the Export module. You can run this plugin after every conversion to clean up any temporary files on the server.
-
Improves the process switch in this plugin for very large multi-page TIFF files (TIFF files over 15MB in size).
Plugin operations
This plugin is intended to work after the export phase of the Transact batch processing, when all the processing on the batch is complete and desired results have been exported.
The plugin takes the identifier of a batch instance and removes all the contents and its sub-files from the following paths:
-
<SHARED_FOLDER_PATH><BATCH_CLASS_UNC_FOLDER><BATCH_INSTANCE_FOLDER_NAME>
This folder is always deleted.
-
<LOCAL_FOLDER_PATH><BATCH_INSTANCE_IDENTIFIER>
This folder is deleted only if the plugin setting for Delete System Folder Information is enabled (set to TRUE in the Plugin Configuration screen).
-
<BATCH_INSTANCE_IDENTIFIER>.ser file from the
<LOCAL_FOLDER_PATH> properties folder
This file is deleted only if the plugin setting for Delete System Folder Information is enabled (set to TRUE in the Plugin Configuration screen).
Add the Cleanup plugin to the Folder Import Module of a Batch Class
Perform these steps to add the CLEANUP plugin to the Import module of a batch class:
- Log in to Transact and from the Administration section, select Batch Class Management.
- In the Batch Class Management screen, select the batch class to configure and click Open.
-
Navigate to
.
The plugins that are currently enabled in this module appear.
-
To add the CLEANUP plugin to this module, scroll down to this plugin from the
Associated Plugins menu, and select it.
-
Click the right arrow to move it to the field on the right.
If the CLEANUP plugin has already been added to the Export module, the system informs you of this status.
If the CLEANUP plugin has dependencies, you are prompted to add the dependency plugins as well. The screen highlights the additional plugins for your review.
-
Click
OK to proceed.
This activates the plugin for the Folder Import module, and moves the plugin to the Selected Plugins field.
- Select (highlight) the CLEANUP plugin on the right, and click the up or down arrow to adjust the sequence of this plugin in relation to the other plugins.
-
Click
Apply to apply or register the changes. Then click
Deploy to activate the changes.
The system displays a temporary confirmation message that the changes are saved and that the workflow is activated.
The CLEANUP plugin is now included in the batch class.
-
In the same batch class, and from the Batch Class management screen, enable or disable the plugin by following
these steps:
-
Navigate to the
Export module and select (highlight) the
CLEANUP plugin.
The Plugin Configuration screen appears.
-
Select one of the following options to enable or disable the folder information.
-
TRUE: Sets the plugin to delete the <Local folder><Batch instance> folder and its contents.
-
FALSE: Sets the plugin to leave the <Local folder><Batch instance> folder and its contents.
-
-
Navigate to the
Export module and select (highlight) the
CLEANUP plugin.
Add the Cleanup plugin to the Export module of a Batch Class
Perform these steps to add the CLEANUP plugin to the Export module of a batch class:
- Log in to Transact. From the Administration section, select Batch Class Management.
- In the Batch Class Management screen, select the batch class to configure and click Open.
- Navigate to . The plugins that are currently enabled in this module appear.
- To add the CLEANUP plugin to this module, scroll down to this plugin from the Associated Plugins menu and select it.
-
Click the right arrow to move it to the field on the right.
If the CLEANUP plugin has already been added to the Folder Import module, the system informs you of this status.
If the CLEANUP plugin has dependencies, you are prompted to add the dependency plugins as well. The screen highlights the additional plugins for your review.
-
Click
OK to proceed.
This activates the plugin for the Folder Import module, and moves the plugin to the Selected Plugins field.
- Select (highlight) the CLEANUP plugin on the right, and click the up or down arrow to adjust the sequence of this plugin in relation to the other plugins.
-
Click
Apply to apply or register the changes. Then click
Deploy to activate the changes.
The system displays a temporary confirmation message that the changes are saved and that the workflow is activated.
The CLEANUP plugin is now included in the batch class.
-
In the same batch class, and from the Batch Class management screen, enable or disable the plugin by following
these steps:
-
Navigate to the
Export module and select (highlight) the
CLEANUP plugin.
The Plugin Configuration screen appears.
-
Select one of the following options to enable or disable the folder information.
- TRUE: Sets the plugin to delete the <Local folder><Batch instance> folder and its contents.
-
FALSE: Sets the plugin to leave the <Local folder><Batch instance> folder and its contents.
-
Navigate to the
Export module and select (highlight) the
CLEANUP plugin.