<< 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:
Composite strings can contain one or more of the following (case-insensitive) variables, enclosed in curly brackets { }:
Substring |
Type |
Description |
---|---|---|
|
||
e.g., csv (without the dot) |
||
|
||
|
||
|
||
|
||
e.g., C:\EarthSoft\Live\HOBO |
||
|
||
e.g., HOBO |
||
remoteHost |
e.g., ftp.something.com |
|
remoteUriWithPath |
e.g., ftp://ftp.something.com/folder a/folder b |
|
remoteUriWithoutPath |
e.g., ftp://ftp.something.com |
|
|
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). |
---|
Copyright © 2024 EarthSoft, Inc. • Modified: 26 Feb 2024