3

There is a standard behavior of the platform to archive activities if certain conditions are met

  • Events due more than 365 days ago
  • Closed tasks due more than 365 days ago
  • Closed tasks created more than 365 days ago, if they have no due date

As stated here

https://help.salesforce.com/HTViewSolution?id=000175889

the 365 can be increased up to 2555 days. Fine. Now here

https://success.salesforce.com/ideaView?id=08730000000Bp5H

I found that increasing this limit won't unarchieve activities which are already archived even if they are below the increased threshold. Also it's not possible to write this flag explicitly.

What is the best way to unarchieve those tasks according to the new threshold?

1 Answer 1

5

Use queryAll in the API to retrieve the activities, then perform an update to the records. You only need to call update() using just records by Id value (you just "touch" the record). They will be restored upon saving.

The Data Loader exposes queryAll as "Export All."

You must log in to answer this question.

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