Parameter | Description |
---|---|
File Listener Name | Name of the file listener. A file listener name must be unique within the organization. File listener names can contain alphanumeric characters, spaces, and underscores. The names must begin with an alphabetic character or underscore. File listener names are not case sensitive. |
Location | Project directory in which the file listener is created. |
Description | Optional description of the file listener. Maximum length is 1024 characters. |
Status | Status of the file listener: Enabled or Disabled. A disabled file listener does not listen to files on the designated folder. |
Runtime Environment | Runtime environment that contains the Secure Agent used to run the file listener. |
Source Type | Type of source to which file listener listens. Select one of the following source types:
For more information about parameters and file listener rules that you configure for the server, see Configuring file listener for a server source type. For more information about parameters and file listener rules that you configure for the connector, see Configuring file listener for a connector source type. |
Parameter | Description |
---|---|
Run | Frequency at which the file listener runs, daily, weekly, or monthly. |
Start Date | Date on which the file listener starts running. |
End Date | Date until which the file listener runs. |
Repeat indefinitely | The file listener runs without an end date. |
Start At | Time of day when the file listener starts running. |
Check Until | Time of day when the file listener stops running. |
Check Every | Frequency at which the file listener checks for files in the folder to which it listens, by seconds, minutes, or hours. |
Time Zone | Time zone according to which the file listener runs. |
Days to Run | Days of the week when the file listener runs when you select to run the file listener weekly. |
Day of Month | Day of the month when the file listener runs when you select to run the file listener every month. |
Day of Week | Day of the week the file listener runs when you select to run the file listener every month |
Week | The week the file listener runs when you select to run the file listener every month. For example, to run the file listener on the fourth Sunday of the month, select Day of Week: Sunday and Week: Fourth. |
Parameter | Description |
---|---|
Event Provider | The server type to which the file listener listens. You can configure the file listener to listen to the AS2, HTTPS, or the SFTP server. |
Event Type | The type of server event to which file listener listens. The event types that you can define for the AS2 server are:
The event types that you can define for the HTTPS server are:
The event types that you can define for the SFTP server are:
For example, if the event type is SFTP Upload Failed, then file listener sends notifications when the file upload fails on the SFTP server. |
Parameter | Description |
---|---|
Key | The event attributes. |
Type | The methods to filter the key value.
|
Value | Value of the key. |
Parameter | Description |
---|---|
Connection Type | Type of the connection to which the file listener listens. |
Connection | Connection to which the file listener listens. |
Parameter | Description |
---|---|
Folder Path | Path to the folder to which the file listener listens. Note: File listener can access files and directories on network shares with support for NFS and CIFS. You can enter a relative path to the source file system. To enter a relative path, start the path with a period, followed by a slash (./). The path is relative to the source directory specified in the connection. |
Pattern Type | Determines the pattern of the file name to which the file listener listens. Select one of the following patterns:
|
File Pattern | File name pattern to which the file listener listens.
If you select regex pattern type, consider the following examples: |
Check for files in sub-folders | Indicates whether the file listener checks for files in sub-folders under the folder to which it listens. |
Post Action | Determines the action the file listener must perform after the file listener listens to the events. You can select the post action as Delete only if the file pattern is an indicator file. Default is None. The following connection types support the Post Action option:
|
Add Parameters | Create an expression to add it as a folder path parameter. For more information, see Add Parameters. |
Notify when file | Determines when the file listener must send notifications to the services that are registered to it:
You can select as many options as required. Note: Do not select the Is Deleted option if the Post Action is Delete. |
Stop checking if rules are met | The file listener stops listening to the folder when the listener rules are met. For example, if you configure the file listener to send notifications when the files in the folder to which it listens are deleted, the listener stops listening to the folder when the first event of file deletion occurs in the folder. If this option is not selected, the file listener notifies the registered application on events and continues to listen for subsequent events. |
Check File stability | The file listener verifies that the entire file is copied to the folder to which it listens before notifying the registered services. Tip: Select this option if you transfer large files, where the process of writing the files to the folder is not instant. |
Stability Check Interval | Time in seconds that a file listener waits to check for file stability. For example, if the stability time is 15 seconds, a file listener verifies the status of the file after every 15 seconds. The stability check interval field is enabled only if you select the Check file stability option. The stability check interval ranges between 10 seconds to 300 seconds. Default is 10 seconds. |
Notify if files exist on the first run | When the file listener runs for the first time, it sends a notification if files exist in the folder to which it listens. The Exclude events when the file listener is not running option is disabled when you select this option. |
Exclude events when the file listener is not running | Determines if you want to exclude the file events that occur when a file listener is not running. The Notify if files exist on the first run option is disabled when you select this option. |
System Variables | Description | Expression |
---|---|---|
BadFileDir * | Directory for reject files. It cannot include the following special characters: * ? < > " | , | ${$PMBadFileDir} |
CacheFileDir * | The location for the cache file. | ${$PMCacheDir} |
Date ** | The current date in ISO (yyyy-MM-dd) format. | ${system.date} |
Day ** | The day of week | ${system.day} |
ExtProcDir * | Directory for external procedures. It cannot include the following special characters: * ? < > " | , | ${$PMExtProcDir} |
LookupFileDir * | Directory for lookup files. It cannot include the following special characters: * ? < > " | , | ${$PMLookupFileDir} |
Month ** | Numerical month | ${system.month} |
RootDir | Root directory accessible by the node. This is the root directory for other service process variables. It cannot include the following special characters: * ? < > " | , | ${$PMRootDir} |
SessionLogDir * | Directory for session logs. It cannot include the following special characters: * ? < > " | , | ${$PMSessionLogDir} |
StorageDir * | Directory for run-time files. Workflow recovery files save to the $PMStorageDir configured in the PowerCenter Integration Service properties. Session recovery files save to the $PMStorageDir configured in the operating system profile. It cannot include the following special characters: * ? < > " | , | ${$PMStorageDir} |
TargetFileDir * | Directory for target files. It cannot include the following special characters: * ? < > " | , | ${$PMTargetFileDir} |
TempDir * | Directory for temporary files. It cannot include the following special characters: * ? < > " | , | ${$PMTempDir} |
WorkflowLogDir * | The location for the workflow log file. | ${$PMWorkflowLogDir} |
Year ** | Year | ${system.year} |
* Values are fetched from the Data Integration Server. ** Time zone is the Secure Agent time zone. |