Universal Containers wants to notify an external system in the event that an unhandled exception occurs when their nightly Apex batch gob runs.
What is the appropriate publish/subscribe logic to meet this requirement?
A developer created the code to perform an HTP GET request to an external system.
When the code is executed, the callout is unsuccessful and the following error appears within the Developer Console:System.CalloutException: Unauthorized endpoint
Which recommended approach should the developer implement to the callout exception?
Universal containers needs to integrate with several external systems. The process is initiated when a record is created in Salesforce. The remote systems do not require Salesforce to wait for a response before continuing.
What is the recommended best solution to accomplish this?
Account object has a field, Audit_Code__, that is used to specify what type of auditing the Account needs and a Lookup to user, Auditor__ that is the assigned auditor.
When an Account is initially created, the user specifies the Audit_Code__. Each User in the org has a unique text field, that is used to automatically assign the correct user to the Account Auditor__ field.
What should be changed to most optimize the code's efficiency?
Choose 2 answers