# TaskParams

**Kind**: interface | **Module**: [Outlook](https://docs.interop.io/adapters/reference/javascript/outlook/index.md)

**Source**: https://docs.interop.io/adapters/reference/javascript/outlook/taskparams/index.html

This composite type describes the parameters to be populated on creating a new task.

## Properties

- **`attachments`** (`string[] | AttachmentParams[]`, optional)
  An array of the full paths to existing files to be attached OR an array of objects with the name and data of
  each attachment to be dynamically created and attached.
- **`body`** (`string`, optional)
  The body text of the task, formatted as a plain string.
- **`cookie`** (`string`, optional)
  The cookie of the task.
- **`dueDate`** (`Date | string | number`, optional)
  The due time of the task which is a Date object, string Date, or Unix timestamp number.
- **`priority`** (`"low" | "normal" | "high"`, optional) default: `"normal"`
  The priority of the task.
- **`reminderTime`** (`Date | string | number`, optional)
  The reminder time of the task which is a Date object, string Date, or Unix timestamp number.
- **`startDate`** (`Date | string | number`, optional)
  The start date of the task which is a Date object, string Date, or Unix timestamp number.
- **`subject`** (`string`, optional)
  The subject field of the task.

## Related types

- [AttachmentParams](https://docs.interop.io/adapters/reference/javascript/outlook/attachmentparams/index.md)
