---
title: fetchRecordZoneChangesCompletionBlock
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/ckfetchrecordzonechangesoperation/fetchrecordzonechangescompletionblock
---

# fetchRecordZoneChangesCompletionBlock

The closure to execute when the operation finishes.

## Declaration

```swift
var fetchRecordZoneChangesCompletionBlock: (((any Error)?) -> Void)? { get set }
```

## Discussion

Discussion The closure has no return value and takes the following parameter: An error object that contains information about a problem, or nil if CloudKit successfully retrieves the record zone changes. This closure executes only once, and represents your final opportunity to process the results. The closure executes serially with respect to the other closures of the operation. Set this property before you execute the operation or submit it to a queue.

## See Also

### Processing the Zone Change Operation Results

- [recordChangedBlock](cloudkit/ckfetchrecordzonechangesoperation/recordchangedblock.md)
- [recordWithIDWasDeletedBlock](cloudkit/ckfetchrecordzonechangesoperation/recordwithidwasdeletedblock-3z14c.md)
- [recordZoneChangeTokensUpdatedBlock](cloudkit/ckfetchrecordzonechangesoperation/recordzonechangetokensupdatedblock.md)
- [recordZoneFetchCompletionBlock](cloudkit/ckfetchrecordzonechangesoperation/recordzonefetchcompletionblock.md)
