Questions tagged [undelete]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
99 views

I'm getting an INSUFFICIENT_ACCESS_OR_READONLY error when trying to undelete a record with the SOAP API. But why?

I'm trying to undelete a record via ReadyAPI SOAP client but I'm getting an INSUFFICIENT_ACCESS_OR_READONLY error back from the API. My user has all permission tick boxes checked including Modify All ...
Pasan Eeriyagama's user avatar
1 vote
1 answer
1k views

Able to query deleted records from recycle bin but not to undelete them with system admin no role

How i deleted parent account (which caused related event or task records deleted itself): I've run a batch, which do dml and send other sobject records to be dml in other batch from finish. I had to ...
Ankit's user avatar
  • 19
1 vote
1 answer
128 views

Restoring Contacts via developer console

I've deleted 260k contact records and want to undelete them via developer console. I tried this: undelete [SELECT Id FROM Contact WHERE IsDeleted = true ALL ROWS]; but when I click Execute I get the ...
navreet's user avatar
  • 11
3 votes
1 answer
2k views

How do I discover whether a given deleted record is in the recycle bin?

Background: I'm adding hard deletes to the Salesforce destination in StreamSets Data Collector. Adding the ability to do hard deletes via the Bulk API is trivial - just specify hardDelete instead of ...
metadaddy's user avatar
  • 16.4k
0 votes
1 answer
608 views

Prevent deletion and update the records - Trigger

I have a need to kind of customize the deletion of a custom object. The deletion need to update a checkBox to true instead of really delete the record. For that I tried many things using trigger ...
Raphael D's user avatar
  • 574
0 votes
1 answer
2k views

Cannot remove global picklist after deletion picklist

I am trying to delete a global picklist but this references a deleted picklist. How do I resolve this?
Thomas's user avatar
  • 2,294
0 votes
1 answer
13k views

Trigger on Contact to Update the Account Fields

Hi I Need some help on the below scenario as i am not sure how to work in the case if the Contact Associated with the Account is deleted, Kindly help me out for the below situation, User Story : Lets ...
Riya's user avatar
  • 3
0 votes
1 answer
4k views

How to recover deleted data extensions from Marketing Cloud?

Data extensions are mistakenly deleted from our Marketing Cloud instance. Is there any way to recover it? Thanks.
Duan's user avatar
  • 185
0 votes
0 answers
82 views

Recreate a campaign with original id

I deleted a couple of campaigns because I didn't need them or their contents. I am now trying to undelete a Contact record that was a campaign member of the deleted campaign. I think the undelete is ...
Michele Kleinhomer's user avatar
0 votes
0 answers
269 views

Can't undelete a Contact record

I can't undelete a contact record that was deleted earlier today. I get the following error. I can, however, delete & undelete other contact records. This is on a Professional version of ...
Michele Kleinhomer's user avatar
1 vote
1 answer
150 views

Undelete Fails on Account - Any other way to restore contacts on it?

Someone deleted an account that was a catchall account and had 10K+ Contacts in it. When I try to undelete I get the error:"Task(id: 00T1500001lDCKG) cannot include a mix of contacts and a lead." I ...
Cole's user avatar
  • 111
0 votes
0 answers
2k views

Undelete a process builder

This is a generic question. `Is there any way to undelete a process builder. I have currently deleted all the versions. If it is not possible is there any salesforce document which states what ...
Madhurima's user avatar
  • 1,385
0 votes
1 answer
110 views

SFDX: custom fields not displaying in force:source:status after undelete

I created a custom object and then a custom field. Then I deleted the field and undeleted it respectively. Now when I run sfdx force:source:status that custom field is not displayed. If I create ...
Arthlete's user avatar
  • 4,907
0 votes
1 answer
69 views

Action Plans V3 Unmanaged - Unable to undelete Accounts

I've been using "Action Plans V3 Unmanaged" for years. However we just tried to undelete an account and found that "Action Plans V3" is blocking the undelete. The error I get is this: Unable to ...
Sam Lim's user avatar
1 vote
2 answers
3k views

Erase/Undelete in salesforce Lightning?

Is there a Erase/Undelete option in salesforce Lightning. I was trying to find out Erase a deleted Field then i couldnt find it. I know its there in Classic version. Let me know where I can find this ...
Robert Thomas's user avatar
0 votes
1 answer
322 views

Is it possible to see if a record was deleted, but has been since undeleted?

Curious to know if there's a way to see that a Lead or Contact was deleted, but subsequently undeleted?
Matt's user avatar
  • 1,017
0 votes
1 answer
177 views

Change Parent record status with child record status when a record restored from recycle bin [closed]

How can I change the status of some records when they were restored from the recycle bin? Based on their necessity Users are adding and deleting the child records, If they accidentally deleted they ...
Suresh's user avatar
  • 975
7 votes
1 answer
3k views

How to mass undelete data from recycle bin

I have mistakenly deleted 200,000 records in the recycle bin and am trying to recover them. Although, clicking undelete button 1000 times might be a good way of remembering the mistake, it is still a ...
Lance Shi's user avatar
  • 13k
1 vote
1 answer
2k views

Restore change set

Is there any way to restore a deleted change set? Unfortunately I haven't found it in the recycle bin. I have also found no setting or other location to restore / undelete them.
0xDECAFBAD's user avatar
2 votes
1 answer
1k views

Unable to undelete the child

I have to objects (Kampagne and Schedule) The relation between Kampagne and Schedule is "Master-Details" where the Kampagne is the Master and the schedules are the details. My problem is: I deleted ...
Guillaume Rebmann's user avatar
4 votes
1 answer
389 views

It is possible to undelete SObject and other metadata using api?

I know about undelete() from Enterprise API but it looks like only for records, anyway I tried it with request: <?xml version="1.0" encoding="utf-8"?> <soapenv:Envelope xmlns:soapenv="http://...
Vitaly Zdanevich's user avatar
0 votes
1 answer
566 views

undelete trigger error

I need to delete some events and after undelete them. Now to do this i'm using two triggers, the first in after insert delete all the events if they are alldayevent,the second trigger undelet a list ...
L.benedettini's user avatar
0 votes
1 answer
41 views

Not able to find undeleted contact

I have deleted a contact record by mistake in salesforce. I found the record in Recycle Bin and undeleted it. I'm not able to find the record in salesforce. How much time does it usually take to get ...
Rachana's user avatar
7 votes
3 answers
1k views

Prevent undelete

Is there any way that I can prevent the undelete of an objects record? Could we implement this using a trigger, we do not have before undelete context - hence it makes this a bit difficult.
Prajith's user avatar
  • 1,559
10 votes
3 answers
4k views

How can a record be undeleted using the REST API?

The SOAP API has an explicit undelete() call to restore deleted records from the recycle bin. Is there an equivalent resource for the REST API to undelete records? I see ways to find records that are ...
Daniel Ballinger's user avatar
6 votes
1 answer
1k views

Undelete error: entity is deleted

I'm trying to undelete records using apex and it is throwing me an error: entity is deleted List<MyObject__c> undeleteObj = [select id, Unique_Id__c from MyObject__c where ...
user569925's user avatar
  • 1,179
0 votes
2 answers
4k views

How to query deleted contacts

This bozo (me) managed to delete some contacts that shouldn't be deleted with a list of those that should. Now the whole world knows about it and is waiting for me to restore them. I do this query ...
Apex N-u-b's user avatar
  • 1,288
0 votes
1 answer
635 views

Undelete permission

I have a trigger that doesn't allow me to undelete a record from Recicle Bin in a certain case. At the same time I also checks security in order to be sure that my user is allowed to Undelete a ...
Agustina García's user avatar
-1 votes
1 answer
2k views

Change Contact in undelete trigger

I'm experiencing a weird issue with undelete trigger on Contact record. // trigger trigger triggerContact on Contact (after undelete) { for(Contact contact : Trigger.new) { if (contact....
Mike Raven's user avatar
  • 2,133
1 vote
0 answers
56 views

"Quote is marked for soft delete and cannot be retrieved"

I have un-deleted the quote from Recycle bin. But when I'm trying to access the quote, it's showing as "Quote is marked for soft delete and cannot be retrieved". How do I recover those quotes?
sridhar's user avatar
  • 21
1 vote
1 answer
87 views

Restore records from local backup using SOAP/BULK

I'm working on the restoring records for multiple objects that are stored in my local backup in the form of a database table. There seems to be an issue how the restore works. The scenario is as ...
dmachop's user avatar
  • 1,089
3 votes
1 answer
60 views

Odd Issue (Possible Expected Feature) Delete Contact then Account Contact NOT undeleted or undeleteable

Ok, so ran into this issue and maybe it is a "feature" but have not ran into it before...... Delete a contact Contact shows up in recycle bin Delete Account Account is in recycle bin but contact is ...
Eric's user avatar
  • 54.2k
0 votes
0 answers
132 views

Selecting Specific records to delete from Recycle Bin?

Salesforce has provided checkboxes for selecting specific records/components to undelete . Why is that they haven't provided a similar option for deleting specific records/components? Why is that we ...
TroubleShooter's user avatar
3 votes
2 answers
2k views

can't undelete record

I have tried to undelete a record, both in the Recycle Bin UI and via apex. The UI message is cryptic (4 potential explanations), but the apex debug gives me the following: DEBUG|Undelete failed. ...
Shane McLaughlin's user avatar