We are trying to load tasks using data loader, where curtains tasks need to be loaded in 'Completed' status, we have observed if a tasks get's loaded with 'Completed' date the System is automatically setting standard 'CompletedDateTime' date fields as date on when task is loaded with 'Completed' status, similar to CreatedDate.

Is there a way we can set a different date into CompletedDateTime with Data loader, I have enabled permission to set audit fields as well, but only created date is available with this permission but not CompletedDateTime.

2 Answers 2


Per the documentation, you cannot set the value of CompletedDateTime.


If you want to sort them, you can actually do them by Due Date.. https://help.salesforce.com/s/articleView? id=sf.activitytimeline_sorting_past_activities_task.htm&language=en_US&type=5

  • Welcome to Salesforce SE! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
    – identigral
    Commented Nov 3, 2023 at 23:42
  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review Commented Nov 4, 2023 at 5:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .