---
title: automatic
framework: groupactivities
role: symbol
role_heading: Type Property
path: groupactivities/groupactivitymetadata/lifetimepolicy-swift.struct/automatic
---

# automatic

The default lifetime policy for a group activity.

## Declaration

```swift
static let automatic: GroupActivityMetadata.LifetimePolicy
```

## Discussion

Discussion Initiators and participants will have the option to leave the activity independently or end it for everyone.  When everyone has left the activity, it will end. This case should be used by most apps and allows activities to continue until all participants leave the activity – regardless of which participant happens to have initiated the activity.
