---
title: "result(opensIntent:dialog:)"
framework: appintents
role: symbol
role_heading: Type Method
path: "appintents/intentresult/result(opensintent:dialog:)-64q5v"
---

# result(opensIntent:dialog:)

Indicates the AppIntent finished performing

## Declaration

```swift
static func result(opensIntent: some AppIntent, dialog: IntentDialog) -> Self where Self == IntentResultContainer<Never, Never, Never, IntentDialog>
```

## Parameters

- `opensIntent`: An AppIntent to shows the result of current intent
- `dialog`: A custom success dialog
