2

In the salesforce 'mass delete records' we can delete Activities. I need to to delete Tasks but not Event. What is the filter I should use for this?

UPDATE: I just need to know how to use 'Mass Delete Record' page to delete Task, other than dev console, data loader or other custom solutions

2
  • have you tried using data loader?
    – snehakem
    Commented Apr 8, 2015 at 10:45
  • Data Loader or Dev console are capable of querying the object itself AFAIK. Mass delete page is not with that much our control so thinking about the proper filter
    – highfive
    Commented Apr 8, 2015 at 10:56

2 Answers 2

4

You can use the Task checkbox field in your filter criteria to differentiate between Tasks and Events.

So in your case you can say Task equals TRUE to get all the Tasks for deletion

enter image description here

0
0

You can query all the tasks using developer console, and simply delete them.

delete [select id from Task];

The ids of tasks starts from 00t and for events it is 00u. You can first query all the tasks and confirm before deleting.

1
  • Thanks for the response, but I'm looking for how to use this mass delete page
    – highfive
    Commented Apr 8, 2015 at 11:05

You must log in to answer this question.

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