---
title: "result(value:actionButtonIntent:activityIdentifier:)"
framework: appintents
role: symbol
role_heading: Type Method
path: "appintents/intentresult/result(value:actionbuttonintent:activityidentifier:)"
---

# result(value:actionButtonIntent:activityIdentifier:)

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

## Declaration

```swift
static func result<Value, Intent>(value: Value, actionButtonIntent: Intent, activityIdentifier: String) -> Self where Self == IntentResultContainer<Value, Never, Never, Never>, Value : _IntentValue, Intent : AppIntent
```

## Parameters

- `value`: The value produced by the AppIntent
- `actionButtonIntent`: A follow-on intent that can run next.
- `activityIdentifier`: An identifier for the follow-on intent.
