Polymorphic Field in SOQL Queries in Salesforce
instanceof can be used to find the object type in Salesforce Apex. TYPEOF can be used to find the object type in Salesforce SOQL. For Task Object with What field: ....
instanceof can be used to find the object type in Salesforce Apex. TYPEOF can be used to find the object type in Salesforce SOQL. For Task Object with What field: ....
To find/query/SQOL all the Chatter Posts for a specific user in Salesforce, run a SOQL FeedItem object/entity where InsertedById is filtered by the id of the user. SOQL: SELECT Id, ....
Exception:Your org has too many waiting flow interviews, including processes that are waiting to execute groups of scheduled actions. Wait for some interviews to complete, or delete unneeded interviews. https://help.salesforce.com/s/articleView?id=sf.process_limits_scheduled_processing.htm&type=5 ....
Salesforce Einstein Bot Event Logs are stored in the ConversationDefinitionEventLog object or entity. So, query it to get the logs. 1. Get the session id. 2. Use Data Loader. Sample ....
Syntax:SELECT Id, UserName FROM User WHERE Id IN ( SELECT AssigneeId FROM PermissionSetLicenseAssign WHERE PermissionSetLicense.MasterLabel = '<Name of the Permission Set License' ) You can get the Name of the Permission ....
Files are stored in ContentDocument entity. Use this soql to find the ContentDocumentId. SELECT ContentDocumentId FROM ContentDocumentLink WHERE LinkedEntityId = '<MessagingSessionId>' Example: 1. Run the below SOQL.SELECT ContentDocumentId FROM ContentDocumentLink WHERE LinkedEntityId ....
Salesforce List Views are stored in ListView object/entity. So, we have to use ListView object/entity to query all the list views for an object in Salesforce. Sample SOQL: SELECT Id, ....
1. Run the below SOQL to get the PermissionSet Id. SELECT Id, Profile.Name FROM PermissionSet WHERE Profile.Name = 'System Administrator' 2. Use the PermissionSet Id from the step 1 and ....
1. Run the below SOQL to get the PermissionSet Id. SELECT Id, Profile.Name FROM PermissionSet WHERE Profile.Name = 'System Administrator' 2. Use the PermissionSet Id from the step 1 and ....
Draft emails feature in Salesforce allow the customer support agents who use the case feed to write and save messages without having to send them immediately. Reference Article - https://help.salesforce.com/articleView?id=sf.case_interaction_enabling_email_drafts.htm&type=5 ....