Send to Folder component RRTs

Component RRT

The RRT ID for the Send to Folder component is STF.

Reserved Replacement Tag Names (RRTN)

The following table describes the reserved RTN values for Schema field of this component.

Name Description
FileName The original file name value.
Counter An incremental counter based on the duplicate file names found within a directory.  The counter value concatenated with a name provides a unique file name.
FileExt Original file extension value
Path The folder path entry.  For example, if you have configured 3 folder paths, then this RRTN can take the following values: Path1, Path2, Path3. Path1 refers to the first path entry configured, Path2 refers to the 2nd path entry configured, etc. This applies to the Send to Folder eConnector component.

The following example provides some sample usage for your reference:

The RRT schema ~STF::FileName~~STF::Counter~ is replaced with the value “Document5” if the original file name was “Document” and there were already 4 files with the same name (Document1 to Document4) in the destination folder path.

The Reserved RTN values FileName, Counter, FileExt can only be used with the Rename field of this component. In other words, you may not use ~STF::FileName~, ~STF::Counter~, or ~STF::FileExt~ in any component other than the Send to Folder eConnector,  and they must only be used with the Rename field of this component.

Use the C format specifiers to create and display the counter with the required number of leading spaces or leading zeros.  For example, if the file name is Test.doc, and the rename schema is ~STF::FileName~~STF::Counter:03~~STF::FileExt~,  then the resulting file names are Test001.doc, Test002.doc, and so forth.  If the file name is Test.doc and the rename schema is ~STF::FileName~~STF::Counter:3~~STF::FileExt~,  then the resulting file names are Test  1.doc, Test  2.doc, and so forth (note the 2 spaces after "Test").

Field Replacement Tag Names (FRTN)

This component does not have any FRTNs and replacement of field names with metadata values.

Special Set Replacement Tag Names (SSRTN)

This component supports the Date/Time tag names listed below:

SSRTN Description
%a Abbreviated weekday name
%A Full weekday name
%b Abbreviated month name
%B Full month name
%d Day of month as decimal number (01 – 31)
%H Hour in 24-hour format (00 – 23)
%I Hour in 12-hour format (01 – 12)
%j Day of year as decimal number (001 – 366)
%m Month as decimal number (01 – 12)
%M Minute as decimal number (00 – 59)
%p Current locale’s A.M./P.M. indicator for the 12-hour clock
%S Second as decimal number (00 – 59)
%U Week of year as decimal number, with Sunday as first day of week (00 – 53)
%w Weekday as decimal number (0 – 6; Sunday is 0)
%W Week of year as decimal number, with Monday as first day of week (00 – 53)
%y Year without century, as decimal number (00 – 99)
%Y Year with century, as decimal number

Examples usage of the above SSRTN include:

The RRT schema “~STF::%Y~-~STF::%m~”  will be replaced by “2004-10”