Disconnected from Omni-Channel. Log in again to receive work
Make sure the user is not opening a duplicate tab or opening a record in a new tab. If they do, they will experience this issue. Steps to Reproduce the ....
Make sure the user is not opening a duplicate tab or opening a record in a new tab. If they do, they will experience this issue. Steps to Reproduce the ....
Below processes run under the Automated Process User Context Platform event triggers/flows/process. Approval Process Knowledge Actions. You can use getSessionId() both synchronously and asynchronously. In asynchronous Apex (Batch, Future, Queueable, ....
Sample Code: trigger LeadTrigger on Lead ( after update ) { Set < Id > setContactIds = new Set < Id >(); for ( Lead objLead : trigger.new ) { ....
Sample SOQL using Apex:for ( User objUser : [ SELECT Id, Name, Profile.UserLicense.Name FROM User WHERE Profile.UserLicenseId != null ] ) system.debug( objUser.Profile.UserLicense.Name ); Output:
Execute the following sample apex code to get all the Salesforce Data Categories using Apex. Sample Code: private List < DataCategory > getAllCategories( List < DataCategory > categories ) { if ( ....
You may see the PDF content with /_ui/identity/verification/policy/VerificationStartUi/e? in the JavaScript or Blank PDF. The issue is due to "Session Security Level Required at Login" set to "High Assurance". Option 1:Use ....
Sample Code: String pgRef = '{ type: "standard__recordPage",attributes:{recordId:' + objAcc.Id + ',objectApiName: "Account",actionName: "view"} }'; notification.setTargetPageRef( pgRef ); In the above code, it redirects the user to the Account Record ....
Check the help article for additional information.Help Article - https://help.salesforce.com/articleView?id=filter_role_hierarchy.htm&type=5
Use System.abortJob( '<JobID>' ) to abort the apex job in Salesforce. To get the JobId, use the "AsyncApexJob" object. Add proper WHERE condition to the SOQL to find the Job Ids. ....
Sample code:sObject obj = [ SELECT Id, CreatedBy.Alias, Name FROM Account LIMIT 1 ];system.debug( obj.getSobject( 'CreatedBy' ).get( 'Alias' ) );