Back Forward File Listener form
Completing the Process tab

  1. About 
  2. New 
  3. Properties 
  4. Process 
  5. Error 
  6. History 
  7. More... 

03-02 Configure the processing this file listener performs at runtime. form verified for v6.2 pashm 1/3/11

General

Field

Description

General  
Polling Interval (seconds)

Enter the number of seconds this listener waits before it checks for newly arrived files.

Ignore duplicate file names?

Select to prevent processing of a second or later file that has the same name as a previously processed file.

If selected, the system searches the Log-Service-File class for past instances of processing by this listener containing the current file name. If a match is found, the system:

  • Bypasses normal processing of the file
  • Copies the duplicate input file to the work directory
  • Saves it with .dup as the file extension
Lock temporary file names?

B-5948 SP2 Leave this checkbox cleared in most situations, when a PRPC system consists of a single server node or the file listener is set to run on only a single node.

Select to cause each listener thread to lock the temporary files it creates, to avoid name collisions when multiple copies of the listener may be running.

TipSelect this box only when truly necessary, as locking adds processing that can affect performance.

Reporting

Field

Description

Reporting  
Generate report file?

If selected, the listener creates a report file in the source directory using the contents of the Source Property. The name of the report file is the original file name suffixed with the target file extension. When the Source Property field contains the keywordA word that, in certain circumstances, has a specific meaning to PRPC. Keywords are sometimes called "reserved words." $XML, the system writes an XML representation of the source page to the file.

Source Page Name

Specify the name of a page to hold the report. This page has class Log-Service-File. If blank, the default page name is LogServiceFile. Properties pyOriginalDirectory and pyOriginalFileName identify the input file.

Source Property

SmartPromptSelect the property (on the page identified in the Source Page Name field) that you want to report on. Enter the keyword $XML in this field to write an XML representation of the entire page you identified in the Source Page field into the report file.

Target File Extension

Enter an extension for the report file, such as txt or rpt. Use only alphanumeric characters.

Persist Log-Service-File instances?

Select to cause instances of the Log-Service-File class (which record the processing of a listener) to be saved in the PegaRULES database, for reporting, debugging, or reporting. B-5948

When not selected, instances of this class present in server JVM memory only and are discarded when the server is stopped.

TipFor best performance in high-volume production situations, clear this checkbox after you complete debugging of a Service File configuration.

Idle Processing and Cleanup

Field

Description

Idle Processing R-13099 401SP3
Activity Class

SmartPromptOptional. To identify an activity that runs after the processing of a file is complete, enter the Applies To key part here.

Activity Name

SmartPromptOptional. To identify an activity that runs after the processing of a file is complete, enter the Activity Name key part here.

Cleanup  
File Operation

Select Keep or Delete. After an input file is successfully processed, it can be kept or deleted. The system moves kept files to the Completed file folder.

Consider total disk space requirements if the input files are large and you select Keep.

Up About File Listener data instances