---
url: >-
  /statelake/scripting-reference/classes/file-connection-class-tflofilecon/filecon.processauditdir.md
---

# FileCon.ProcessAuditDir

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.

**Declaration**: function ProcessAuditDir : string

Example follows.

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