---
title: removedOnCompletion
framework: appintents
role: symbol
role_heading: Instance Property
path: appintents/intentfile/removedoncompletion
---

# removedOnCompletion

Indicates whether the file should be automatically deleted from disk when the Shortcut is done running. false by default.

## Declaration

```swift
var removedOnCompletion: Bool { get set }
```

## See Also

### Getting the file information

- [filename](appintents/intentfile/filename.md)
- [fileURL](appintents/intentfile/fileurl.md)
- [type](appintents/intentfile/type.md)
- [data](appintents/intentfile/data.md)
