---
title: atomicByZone
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/cksyncengine-5sie5/recordzonechangebatch/atomicbyzone
---

# atomicByZone

A Boolean value that determines whether CloudKit modifies records atomically by record zone.

## Declaration

```swift
var atomicByZone: Bool
```

## Discussion

Discussion When true, CloudKit processes record changes atomically by record zone, and if any individual change fails, all other changes in that record’s record zone fail and return an error of type CKError.Code.batchRequestFailed. The default value is false.
