Check date time occurs within Business Hours Salesforce Apex
In Salesforce Apex, we can make use of BusinessHours.isWithin() method to check whether the date time is within the business hours or not. Please check the following apex code for ....
In Salesforce Apex, we can make use of BusinessHours.isWithin() method to check whether the date time is within the business hours or not. Please check the following apex code for ....
Salesforce Agentforce Event Logsare stored in the ConversationDefinitionEventLog object or entity. So, query it to get the Salesforce Agentforce Agent logs. "Enrich event logs with conversation data" should be enabled ....
Salesforce Service Agent Session Engagement can be used to report on the Salesforce Service Agents. 1. Create a Report on "Service Agent Session Engagement" Report Type. 2. Select the fields ....
If you want to track the Salesforce Send Conversation Messages invocations, then query ConvMessageSendRequest object/entity. Whenever Send Conversation Messages action is invoked, it is logged in ConvMessageSendRequest object/entity. Sample SOQL: ....
SOQL to find Products without Price Book Entries: SELECT Id, ProductCode FROM Product2 WHERE Id NOT IN ( SELECT Product2Id FROM PricebookEntry WHERE Pricebook2Id = '01sSB000006IC45YAG' ) Sample Apex Code ....
To find Salesforce Permission Sets with Password Never Expires permission enabled, we have to check PermissionsPasswordNeverExpires on the PermissionSet object/entity. Please check the following SOQL which will retrieve all the ....
Salesforce Live Chat Object Access Configuration object/entity represents the action that can be performed on a specified object/entity by the Chat API. API name of the Salesforce Live Chat Object ....
ChatterEnabledforUser permission will be enabled or available when the 'Profile-Based Chatter Rollout' feature is enabled in the Salesforce Org. Permission Label for the ChatterEnabledforUser permission is "Enable Chatter". SOQL to ....
FolderId in Salesforce Macro Object/Entity is available when "Share and organize macros in folders" is enabled in Macro Settings. Sample SOQL: SELECT Id, FolderId FROM Macro
To find Salesforce Profiles with Password Never Expires permission enabled, we have to check PermissionsPasswordNeverExpires on the Profile object/entity. Please check the following SOQL which will retrieve all the Salesforce ....