Live File Processor Agent Type – Composite String

<< Click to Display Table of Contents >>

Navigation:  Live > Agents > File Agents > File Processor > Settings > Type >

Live File Processor Agent Type – Composite String

A composite string is a string that can contain one or more substituted variable values.

 

Example: {fileNameWithoutExtension}-{utcNow:yyyyMMddTHHmm}-{ebatch}.{fileExtension}

 

The following setting types are composite strings:

archiveFileName

archiveFilePath

ebatchEddFile

ebatchEddType

liveDataSourceGet

liveDataSourceSet

loggerDescPrefix

 

Composite strings can contain one or more of the following (case-insensitive) variables, enclosed in curly brackets {  }:

 

Substring

Type

Description

computerName

String


ebatch

Integer

 

fileExtension

String

e.g., csv (without the dot)

fileLastWriteTime

DateTime

 

fileLastWriteTimeUtc

DateTime

 

fileNameWithExtension

String

 

fileNameWithoutExtension

String

 

folderWatcherPath

String

e.g., C:\EarthSoft\Live\HOBO

now

DateTime

 

processor

String

e.g., HOBO

remoteHost

String

e.g., ftp.something.com

remoteUriWithPath

String

e.g., ftp://ftp.something.com/folder a/folder b

remoteUriWithoutPath

String

e.g., ftp://ftp.something.com

utcNow

DateTime

 

 

Non-string variables can have a format. For example, DateTime variables can be formatted using a custom date and time format string (e.g., yyyyMMddTHHmm in the example above).

 

A variable can also have Regex Replacements, like EBATCH Example 2.

 

Note: Not all variables are available all of the time. For example, EBATCH is not available for archiveFileName if the file cannot be processed (and therefore does not have an EBATCH number).