---
schema_version: "1"
id: cc0ac6fa8982b94a125a56040406f10c437b7f9aec4fa2ff12303d5e3fe1eeff
title: AutomationActivity
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-apis/automationactivity.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/automationactivity.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 1ef9e61546b20e84dbd984a6f61f16c7b69ace524a265cb91d4aaad7c98f54e2
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# AutomationActivity

Defines an activity in an automation in Automation Studio.

## Properties

| Name                | Data Type                                      | Description                                                                                            |
| ------------------- | ---------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| `ActivityObject`    | [APIObject](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/apiobject.md) object               | The activity object associated with the automation.                                                    |
| `Automation`        | [Automation](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/automation.md) object             | An automation associated with an activity.                                                             |
| `AutomationTask`    | [AutomationTask](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/automationtask.md) object     | A task within automation.                                                                              |
| `Client`            | [ClientID](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/clientid.md) object                 | Defines the account that the automation belongs to.                                                    |
| `CorrelationID`     | String                                         | Identifies calls involved in a specific asynchronous process.                                          |
| `CreatedDate`       | DateTime                                       | The date and time when the activity was created.                                                       |
| `CustomerKey`       | String                                         | A user-defined unique identifier for the activity.                                                     |
| `Definition`        | [APIObject](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/apiobject.md) object               | A definition associated with the automation.                                                           |
| `Description`       | String                                         | Describes and provides information regarding the object.                                               |
| `ID`                | Int                                            | A read-only identifier for the object.                                                                 |
| `IsActive`          | Boolean                                        | Specifies whether the activity is active.                                                              |
| `ModifiedDate`      | DateTime                                       | The date and time when the activity was last modified.                                                 |
| `Name`              | String                                         | The name of the activity.                                                                              |
| `ObjectID`          | String                                         | System-controlled, read-only text string identifier for object.                                        |
| `ObjectState`       | String                                         | Not used.                                                                                              |
| `Owner`             | [Owner](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/owner.md) object                       | Describes account ownership of the activity.                                                           |
| `PartnerKey`        | String                                         | A unique identifier provided by a partner for an object. This property is accessible only via the API. |
| `PartnerProperties` | Array of [APIProperty](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/apiproperty.md) objects | A collection of metadata supplied by the client. This property is accessible only via the API.         |
| `Sequence`          | Int                                            | The position of the activity in the automation.                                                        |

## Related Items

- [Automation](https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/automation.md)
