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

# disambiguation(with:)

Creates an object whose resolution requires the user to select from among the specified objects.

## Declaration

```swift
class func disambiguation(with taskListsToDisambiguate: [INTaskList]) -> Self
```

## Parameters

- `taskListsToDisambiguate`: An array of doc://com.apple.sirikit/documentation/Intents/INTaskList objects for the user to choose from.

## Return Value

Return Value A new INTaskListResolutionResult object.

## Discussion

Discussion Use this method to create a result object when more than one task list matches the given information and you cannot pick one definitively. Ask the user to select from among the task lists that you specify. For each INTaskList object that you provide, include enough information to be able to locate that list again later. When the user selects one of the task lists, SiriKit puts the details from your INTaskList object into the intent and asks you to resolve the task list again. Therefore, you might assign a unique value to the identifier property of the task list so that you can perform a fast lookup of the selected list during the second resolution pass.

## See Also

### Creating a Resolution Result Object

- [success(with:)](intents/intasklistresolutionresult/success(with:).md)
- [confirmationRequired(with:)](intents/intasklistresolutionresult/confirmationrequired(with:).md)
