---
schema_version: "1"
id: 092749dd07d7d8fe26327c2705b2fa2efc0ff4471023d65d9838b71b7f1391cf
title: AutomationTask
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-apis/automationtask.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/automationtask.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3fe996a827e4db93e42a06df2440d62f652c10ce999c1b01f8de9e2bd640258b
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# AutomationTask

Defines a task in an automation in Automation Studio.

## Properties

| Name                 | Data Type                                                    | Description                                                                                                 |
| -------------------- | ------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------- |
| `Activities`         | Array of [AutomationActivity](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/automationactivity.md) objects | Identifies the activities associated with task.                                                             |
| `Automation`         | [Automation](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/automation.md) object                           | Identifies automation associated with task.                                                                 |
| `AutomationTaskType` | String                                                       | Identifies type of activity associated with task.                                                           |
| `Client`             | [ClientID](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/clientid.md) object                               | Defines which account owns the task.                                                                        |
| `CorrelationID`      | String                                                       | Identifies calls involved in a specific asynchronous process.                                               |
| `CreatedDate`        | DateTime                                                     | The date and time when the object was created.                                                              |
| `CustomerKey`        | String                                                       | User-supplied unique identifier for an object within an object type.                                        |
| `Description`        | String                                                       | Describes and provides information regarding the object.                                                    |
| `ID`                 | Int                                                          | Read-only legacy identifier for an object. Not supported on all objects.                                    |
| `ModifiedDate`       | DateTime                                                     | The date and time when the object was last modified.                                                        |
| `Name`               | String                                                       | Name of the object or property.                                                                             |
| `ObjectID`           | String                                                       | System-controlled, read-only text string identifier for object.                                             |
| `ObjectState`        | String                                                       | Reserved for future use.                                                                                    |
| `Owner`              | [Owner](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/owner.md) object                                     | Describes account ownership of subscriber in an on-your-behalf account.                                     |
| `PartnerKey`         | String                                                       | Unique identifier provided by partner for an object. This property is accessible only via API.              |
| `PartnerProperties`  | Array of [APIProperty](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/apiproperty.md) objects               | A collection of metadata supplied by client and stored by system. This property is accessible only via API. |
| `Sequence`           | Int                                                          | Indicates sequence number associated with task.                                                             |

## Related Items

- [AutomationTaskInstance](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/automationtaskinstance.md)
