---
url: >-
  /flow/guide/scripting-reference/classes/file-connection/filecon.processauditdir.md
---

# FileCon.ProcessAuditDir

## Declaration

`function ProcessAuditDir : string`

### Example

```pascal
procedure OnMapEvent(var Value:Variant);
begin
  Value := Source.FileCon.ProcessAuditDir; //the exact folder the file will be moved to if successful
end;
```

## Description

Returns the actual file directory (resolved from the AuditDir pattern) where the input file will be moved to if the processing is successful.

You cannot set this value via script.
