Skip to content

Flow documentation · legacy product

FileCon.AuditDir ​

Declaration ​

property AuditDir: string

Example ​

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

Description ​

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 see DoMoveToAudit.)