Returns the file directory pattern used to set the error folder, where the file is moved to if processing fails with an error status.
When the source Data Definition is a File Definition, you can use this property to modify the folder the input file is moved to after unsuccessful processing.
The ErrorDir property is a pattern - therefore you can set it directly to the folder you desire, or you can include Tags within the name.
Tags will be resolved when the file is being moved after successful processing.
ErrorDir includes a trailing backslash.
Declaration: property ErrorDir: string
An exmple as its use follows.
procedure OnMapEvent(var Value:Variant);
begin
//Result is the directory that the file will be moved to if an error occurs