<!--
{
  "availability" : [
    "iOS: 17.2.0 -",
    "iPadOS: 17.2.0 -",
    "macCatalyst: -",
    "macOS: 14.2.0 -",
    "tvOS: 17.2.0 -",
    "visionOS: -",
    "watchOS: 10.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/IntentResult/result(actionButtonIntent:activityIdentifier:dialog:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "App Intents",
      "AppIntents"
    ],
    "preciseIdentifier" : "s:10AppIntents12IntentResultPAAE6result012actionButtonC018activityIdentifier6dialogAA0cD9ContainerVys5NeverOA2kA0C6DialogVGqd___SSAMtANRszAA0aC0Rd__lFZ"
  },
  "title" : "result(actionButtonIntent:activityIdentifier:dialog:)"
}
-->

# result(actionButtonIntent:activityIdentifier:dialog:)

Creates a result container with a follow-on intent, an identifier, and a dialog.

```
static func result<Intent>(actionButtonIntent: Intent, activityIdentifier: String, dialog: IntentDialog) -> Self where Self == IntentResultContainer<Never, Never, Never, IntentDialog>, Intent : AppIntent
```

## Parameters

`actionButtonIntent`

A follow-on intent that can run next.

`activityIdentifier`

An identifier for the follow-on intent.

`dialog`

A custom success dialog.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)