---
title: "resolveTemporalEventTrigger(for:with:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/insettaskattributeintenthandling/resolvetemporaleventtrigger(for:with:)-9bfly"
---

# resolveTemporalEventTrigger(for:with:)

Resolves the time-based trigger to apply to the task.

## Declaration

```swift
optional func resolveTemporalEventTrigger(for intent: INSetTaskAttributeIntent, with completion: @escaping @Sendable (INSetTaskAttributeTemporalEventTriggerResolutionResult) -> Void)
```

```swift
optional func resolveTemporalEventTrigger(for intent: INSetTaskAttributeIntent) async -> INSetTaskAttributeTemporalEventTriggerResolutionResult
```

## Parameters

- `intent`: Details about the user’s request. Use this object to get the initial information, if any, provided by the user.
- `completion`: The handler block to execute with the resolution. You must execute this handler at some point during your implementation of this method. This handler has no return value and takes the following parameter:

## Discussion

Discussion Implement this method to resolve the time-based trigger to apply to the task. For apps that support reminders based on the current time, use this method to resolve the trigger information. If time-based reminders are optional, return a successful resolution when the user provides trigger information or return a notRequired() resolution when there is no trigger information. If the intent includes some trigger information, but not enough for a successful resolution, you can ask the user to confirm or disambiguate from among the possible values.

## See Also

### Resolving the Intent Parameters

- [resolveTargetTask(for:with:)](intents/insettaskattributeintenthandling/resolvetargettask(for:with:).md)
- [resolveStatus(for:with:)](intents/insettaskattributeintenthandling/resolvestatus(for:with:).md)
- [resolveSpatialEventTrigger(for:with:)](intents/insettaskattributeintenthandling/resolvespatialeventtrigger(for:with:).md)
- [resolvePriority(for:with:)](intents/insettaskattributeintenthandling/resolvepriority(for:with:).md)
- [resolveTaskTitle(for:with:)](intents/insettaskattributeintenthandling/resolvetasktitle(for:with:).md)
- [resolveTemporalEventTrigger(for:with:)](intents/insettaskattributeintenthandling/resolvetemporaleventtrigger(for:with:)-1wr3f.md)
