---
title: "success(with:)"
framework: intents
role: symbol
role_heading: Type Method
path: "intents/incallrecordresolutionresult/success(with:)"
---

# success(with:)

Creates a result that contains the call record that matches the users request.

## Declaration

```swift
class func success(with resolvedCallRecord: INCallRecord) -> Self
```

## Parameters

- `resolvedCallRecord`: The value that resolves the users request. This value may be different than the original doc://com.apple.sirikit/documentation/Intents/INCallRecord. This allows app extensions to apply business logic constraints.

## Return Value

Return Value A new INCallRecordResolutionResult object.

## Discussion

Discussion Use this method for when the app extension wants to tell Siri to proceed, with a given INCallRecord.
