File Poller
The File Poller activity is a process starter activity that polls for files or directories with the specified name and starts a process, when a change (creation, modification, or deletion) is detected.
General
The General tab has the following fields.
Advanced
The Advanced tab has the following fields.
Conversations
You can initiate the conversation here. Click the Add New Conversation button to initiate multiple conversations.
For more information about conversations, see the TIBCO ActiveMatrix BusinessWorks™ Application Development guide.Output
The following is the output for the activity.
Output item | Datatype | Description |
---|---|---|
action | string | The occurred event to trigger the File Poller activity. The possible values are: create, remove, or modify. |
timeOccured | integer | The time when the
File Poller activity detected the change in the file.
The time is defined as the amount of time in milliseconds. For example, since midnight, January 1, 2013 UTC. |
fileInfo | complex | This element contains the fileName, location, type, readProtected, writeProtected, and size data. |
fullName | string | The name of the file, including the path information. |
fileName | string | The name of the file without the path information. |
location | string | The path to the file. |
configuredFileName | string | The name of the file or directory this activity is configured to operate on. |
type | string | The file type. |
readProtected | boolean | Signifies whether the file or directory is protected from reading |
writeProtected | boolean | Signifies whether the file or directory is protected from writing |
size | integer | The size of the file in bytes. |
lastModified | string | The timestamp indicating when the file was last modified. |
fileContent | complex | The element containing the textContent and binaryContent data. |
textContent | string | The content of the file (text files), if the Exclude File Contents check box is not selected on the General tab. |
binaryContent | binary | The content of the file (binary files), if the Exclude File Contents check box is not selected on the General tab. Only available only if type is set to binary. |
encoding | string | The character encoding for the file. This field is present only if Content as field is set the value as Text. |
Copyright © Cloud Software Group, Inc. All rights reserved.