Background processing is a ShareScan functionality designed to speed up the workflow at the MFP and improve user experience, as users no longer have to wait at the device for the completion of their scan jobs.
The documents are created in the background, using a lower-priority queue, to enable devices to be still responsive, with this not hindering the users even during peak periods. This lower priority may result in a longer timeframe for document creation, depending on various factors (job size, system resource availability, scan job resolution, whether it is color or BW, etc.).
Document services can be run via background processing if they are used with express profiles (no user interaction). Pre-5.2 SP2 document services always processed the scanned images real-time, and the user had to wait for any additional screen until this processing was completed. However, in v5.4, the user can leave the MFP much earlier, if a document service is configured with an express profile.
Important!
Kofax recommends using background processing in all scenarios. If the user tries to save a connector profile in the Administration Console with background processing disabled, a warning message pops up requiring confirmation.
The following ShareScan functionalities can be particularly useful with background processing:
You can set background processing for your connector profiles via the ShareScan Administration Console on the Settings pane of the Connectors tab in the Workflow group.
Note:
Background processing is enabled by default for all connector profiles, if ShareScan is installed to a clean system. In case of an upgrade scenario where older profiles are migrated, it is disabled and needs to be enabled manually; the settings of the existing profiles are retained.
|
Field |
Description |
|---|---|
|
Background Processing |
Mark the Enabled checkbox next to this setting to allow the connector profile to use background processing. |
|
Bypass redirect screen |
If enabled, this option allows users to bypass the Redirect screen, and return to the Main form immediately. |
|
Logoff automatically |
This option can only be enabled, if Bypass redirect screen option is turned on. If enabled, the user is logged off when the job is put into the processing queue. |
Note:
The maximum number of the OutputCreator.exe processes performing document building and OCR is determined by the MaxNumberOfOutputCreators Advanced Setting.
If it is set to 0, the system default is used, which is as follows:
It is not recommended to increase the number above the defaults, but if the available memory is low, then the maximum number can be set to a lower value than the default.
Advanced background processing settings can be reached via the Administration Console under Settings / Advanced ShareScan Settings. These advanced settings are stored in the database.
OnlineProcessingTimeout advanced setting in the Administration Console under Settings / Advanced ShareScan Settings.OutputCreatorRetryCreationWithBackgroundAndDT advanced setting in the Administration Console under Settings / Advanced ShareScan Settings.Scanning offers a highly efficient way to distribute and store business documents. However, the file format and scan resolution must be chosen carefully. Applying inappropriate settings may result in poor image quality or unacceptably large files.
Scanning converts a printed page into an image. These images are converted via the OCR process to several possible document formats, for example, PDF (especially Searchable PDF) or various Microsoft Office formats (for example, DOC or DOCX). As the application creating the output file must be able to intelligently recognize different regions as text or graphics and apply the appropriate compression technology to each region, this is a resource-intensive process.
The sheer amount of raw data and system resources involved in creating a high-quality output via the OCR process makes using OCR online a less optimal solution, as it negatively affects user experience. Routing such jobs to background processing is an effective way of improving user experience and system resource distribution.
SetOCRSpeed registry setting. The following options are available:
DOC, DOCX, XLS, XLSX, and Searchable PDF) perform OCR, consuming more server resources in the process.If a job is processed online (as compared to background) the following disadvantages arise:
A job is processed online if the user sets the Background processing setting to OFF mode (by unmarking the Enabled checkbox next to Background Processing setting) in the connector profile.
If a job does not have any UI to display (i.e. all the document service / extender forms and all the connector forms are displayed), then the system automatically switches the online job to a background job if the document processing is not finished during the timeout configurable by the OnlineProcessingTimeout advanced setting.
On the contrary, if a job still has any forms to display (either document service / extender forms or connector forms) the automatic switch to background mode does not happen.
In such situations, on devices mentioned above it can happen that the (online) processing is still in progress, but the device UI times out, with this causing the job to be unable to complete (as it would still require UI / UI interaction, but the UI is not present anymore).
In such vendor / workflow usecase combinations the workflow needs to be redesigned to eliminate the root cause of the problem by
For details see the corresponding white paper.
If the job has Background processing enabled, it means that the system switches to background mode immediately if there are no more forms to display.
If there are both document services / extenders in the workflow that can be executed in the background (i.e. not displaying forms -> express profiles) and there are others configured with UI and the processing order of the document services is not important, then it is recommended to put the express (no UI) profiles to a later position in the list of document services, because this enables the system to switch automatically to background mode as soon as possible.