---
title: "resolveTemporalEventTrigger(for:with:)"
framework: intents
role: symbol
role_heading: Instance Method
path: "intents/inaddtasksintenthandling/resolvetemporaleventtrigger(for:with:)-7yrz3"
---

# resolveTemporalEventTrigger(for:with:)

Resolves the time-based trigger associated with the new tasks.

## Declaration

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

```swift
optional func resolveTemporalEventTrigger(for intent: INAddTasksIntent) async -> INAddTasksTemporalEventTriggerResolutionResult
```

## 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 any time-based triggers associated with the new tasks. Use the intent object to obtain the trigger information, if any, suggested by the user. If the intent doesn’t contain any trigger information, and you don’t require any, return a notRequired() resolution.

## See Also

### Resolving the Intent Parameters

- [resolveTargetTaskList(for:with:)](intents/inaddtasksintenthandling/resolvetargettasklist(for:with:)-2er0u.md)
- [resolveTaskTitles(for:with:)](intents/inaddtasksintenthandling/resolvetasktitles(for:with:).md)
- [resolveSpatialEventTrigger(for:with:)](intents/inaddtasksintenthandling/resolvespatialeventtrigger(for:with:).md)
- [resolvePriority(for:with:)](intents/inaddtasksintenthandling/resolvepriority(for:with:).md)
- [resolveTargetTaskList(for:with:)](intents/inaddtasksintenthandling/resolvetargettasklist(for:with:)-2uevx.md)
- [resolveTemporalEventTrigger(for:with:)](intents/inaddtasksintenthandling/resolvetemporaleventtrigger(for:with:)-2h9ff.md)
