Skip to main content

Questions tagged [isdeleted]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
37 views

Not able to get Task record during an EmailMessage deletion trigger

During an EmailMessage related to a Lead deletion, I need to be able to get the associated Lead on the Task (ActivityId field on EmailMessage object) and add it to the correct list. In the following ...
ThisIsAlex93's user avatar
0 votes
1 answer
283 views

When soft delete occurs in sfdc, which system date fields (if any) are updated with the date of deletion?

When a "soft delete" occurs on a record, in SFDC. the ISDELETED flag is set to TRUE. but i am not 100% which system audit date fields are updated, if any, can anyone confirm ? ...
Mike's user avatar
  • 13
0 votes
1 answer
568 views

Salesforce - Edit field on before delete

I need modify a custom field (datetime) when the record is deleted If I modify in before delete I get an error "There's a problem saving this record. You might not have permission to edit it, or ...
Rodolfo's user avatar
  • 316
0 votes
1 answer
548 views

Formula field for checking isdeleted or not

I have a scenario to check the record isDeleted or not and show it in a field, is there any way to do it not having SOQL
Nikhil's user avatar
  • 1
2 votes
1 answer
490 views

Lookup fields have id values even though parent object has been deleted - tips on fixing?

In a sandbox org whenever I try to perform any DML on a Product2 object I'm getting the generic invalid cross reference key error even if I'm only supplying the id field. 16:59:05.12 (140169065)|...
Ralph Callaway's user avatar
1 vote
0 answers
49 views

Is it possible to query ALL ROWS in the child portion of a parent to child query?

Executing the apex below does not return any deleted Task records even though the deleted records exist. If I query Tasks alone then the deleted tasks are returned. Does this mean it's not possible to ...
Dustin's user avatar
  • 13
4 votes
1 answer
2k views

Easy way to tell which objects will utilize IsDeleted flag?

It seems most objects, when deleted, will get their record updated with IsDeleted = true while they stay in the recycle bin until they're purged. However, we have found some objects just get ...
Kris Goncalves's user avatar
0 votes
1 answer
458 views

Household Accounts overwritten by other Accounts on Contact record- are these household records deleted?

During a recent import(update) of Contacts, we had the "Account Name" field overwritten with Organization Accounts that should have gone into Primary Affiliation. Originally, the Account field held ...
Kaitlyn's user avatar
  • 25
3 votes
0 answers
176 views

Unable to query deleted EventRelation records with ALL ROWS

The EventRelation object has an IsDeleted field, which implies that I should be able to query for deleted records. However, I'm not seeing that. After manually removing an invited contact from an ...
Jason Clark's user avatar
  • 11.9k
3 votes
3 answers
2k views

What happen when Salesforce recycle bin is full?

as mentioned in the title, assuming that the recycle bin of my org is full, what will happen in recycle bin and the new deleted record, when I delete something from Salesforce ?
Anas Laghouaouta's user avatar
0 votes
1 answer
2k views

Extract the deleted Opportunity line item records

I see some opportunity line items are deleted in my org but not sure who deleted it. I tried Export all in data loader to get the deleted ones but I couldn't get it. Is there any other way to fetch?
Sowparnika's user avatar
0 votes
2 answers
1k views

Why don't i see the deleted rows in SalesForce object

We create some object in saleseforce named Custom_kpi__c. When we delete the rows in this object we can't see that using select id , isdeleted from Custom_kpi__c where isDeleted=true. But we see that ...
Oleg Savinkov's user avatar
-1 votes
1 answer
1k views

How to decide if record is deleted using its ID in formula

I have a custom object (X) with a text field (T) which stores Salesforce opportunities ID. And process builder on this custom object (X) uses custom text field (X) values. But sometimes text field (T) ...
Dnyaneshwar's user avatar
1 vote
0 answers
64 views

Can an "SFDC changed data capture" by an ETL tool be made 100% reliable? [duplicate]

We've implemented an ETL extraction out of SFDC using the "Change data capture" mechanism with SFDC as the Data Master (described here). We do daily delta extractions using a filter on systemmodstamp ...
Guy Clairbois's user avatar
2 votes
0 answers
2k views

ENTITY_IS_DELETED error when loading Detail records with External Id

I have a Master-Detail relationship between 2 objects. The child object has a unique External Id field that I'm using to handle duplicates during database commits. The scenario that falls apart is as ...
Mossi's user avatar
  • 3,956