Ask Search:
Nidhi SoniNidhi Soni 

how to import complete activities ?

Is it possible to import activities under activity history? These activites are related to account.
As I see there is only task and event object. 
On what object should I import and what fields are required ?
Best Answer chosen by Nidhi Soni
Mayank SrivastavaMayank Srivastava
Nidhi,
What are all the activities classified as? If they are Tasks, the activities will go under the Task object. If they are events, the activities will go under the Event object.

Since the activities are related to Account only, remember to set the following key attributes:
  • WhatID: Should be set to the Account ID of the Account that the activity is supposed to go under
  • Status: Completed (This makes sure that the activities go under Activity History)
Help article:
Import Tasks or Events (Activity History) into existing records

All Answers

Dnyan AghawDnyan Aghaw
Sunil SarillaSunil Sarilla
Hi Nidhi,
Yes you can.
Depending upon whether the activity is a task or event you will have to use one of the objects.
An activity is marked as completed if the Status of the task is set to completed or any Status where it is marked as Closed.
Mayank SrivastavaMayank Srivastava
Nidhi,
What are all the activities classified as? If they are Tasks, the activities will go under the Task object. If they are events, the activities will go under the Event object.

Since the activities are related to Account only, remember to set the following key attributes:
  • WhatID: Should be set to the Account ID of the Account that the activity is supposed to go under
  • Status: Completed (This makes sure that the activities go under Activity History)
Help article:
Import Tasks or Events (Activity History) into existing records
This was selected as the best answer
Nidhi SoniNidhi Soni
acitivites are classified as Task and related to Account 
So i need Account id as well. 15 or 18 digits ?
Mayank SrivastavaMayank Srivastava
You do. 15 or 18 digits; doesn't matter.
Each row in your csv import file should have task related columns along with the WhatID (this will be the 15/18 digit ID of the account record that the task is related to).
Nidhi SoniNidhi Soni
got you !
Nidhi SoniNidhi Soni
Do I also need Contact id (WHOID) as well ?
Mayank SrivastavaMayank Srivastava
It is not a required field but if you have Contacts linked to your tasks, you can populate the Contact on the Task via the WhoID field.
Just like you are populating the Account using the WhatID field.
Yiran Admin YouYiran Admin You
Thank you for your help. This is also my question