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

# result(value:opensIntent:dialog:)

Indicates the AppIntent finished performing

## Declaration

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

## Parameters

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