Returns the file directory pattern used to set the audit folder, where the file is moved to if processing is successful.

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 successful processing.

The AuditDir 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.

AuditDir includes a trailing backslash.

If the resolved AuditDir matches the resolved FileDir, then the file will not be moved.

Also refer to FileCon.DoMoveToAudit.

Declaration: property AuditDir: string

An example of its use.

procedure OnMapEvent(var Value:Variant);
begin
//Returns the directory that the file will be moved to, if successful
Value := Source.FileCon.AuditDir;
end;