Snippets Collections
SELECT Id,LogUser.Name, LogLength,Application,Status,DurationMilliseconds,StartTime,RequestIdentifier 
FROM ApexLog 
ORDER BY StartTime DESC
SELECT DurableId, FlowDefinitionView.Label, VersionNumber, Status FROM FlowVersionView WHERE FlowDefinitionView.Label LIKE '%PLACE PART OF THE FLOW NAME HERE%' AND Status != 'Active'



/* NOTE: When IMPORTING (Delete Action) - Mark API Type as "Tooling API", limit the batch to 10 and 1 thread (SF Limitation), and change DurableId to ID */
Select id, name, Parent__r.name, Parent__r.id from Child__c

Select id, name, Parent__r.name,(SELECT id, name, amount__c FROM Children__r) from Parent__c
//Parent to Child
SELECT Name, (SELECT name FROM Sessions__r) FROM Public_Event__c
//Child to Parent
SELECT id, name, Public_Event_Name__r.name, Public_Event_Name__r.id From Sessions__c
star

Tue Dec 17 2024 01:42:57 GMT+0000 (Coordinated Universal Time) https://bkonect.atlassian.net/wiki/spaces/BKONECT/pages/557065/Generate+Debug+logs+for+a+System+User

#salesforce #apex #soql
star

Tue Dec 17 2024 00:59:54 GMT+0000 (Coordinated Universal Time)

#salesforce #apex #soql
star

Thu Sep 19 2024 16:09:18 GMT+0000 (Coordinated Universal Time) https://caleksiev.wixsite.com/olzteam/post/salesforce-hacks-1-mass-delete-salesforce-flow-versions

#salesforce #flows #soql
star

Tue Jun 28 2022 04:39:59 GMT+0000 (Coordinated Universal Time)

#salesforce #static #keywords #class #soql
star

Sat Jun 05 2021 01:46:56 GMT+0000 (Coordinated Universal Time)

#apex #salesforce #soql

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension