Valid PDII Dumps shared by ExamDiscuss.com for Helping Passing PDII Exam! ExamDiscuss.com now offer the newest PDII exam dumps, the ExamDiscuss.com PDII exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com PDII dumps with Test Engine here:
Universal Containers (UC) has an ERP system that stores customer Information, When an Account is created in Salesforce, the ERP system's REST endpoint for creating new customers must automatically be called with the Account information. If the call to the ERP system falls, the Account should still be created. Accounts in the UC org are only created, one at a time, by users in the UC customer on-boarding department. What should a developer implement to make the call to the ERP system's REST endpoint?
Correct Answer: D
Recent Comments (The most recent comments are at the top.)
Fa3il khayr - Oct 24, 2024
I think it's A
Here’s why:
Queueable Apex allows you to handle asynchronous operations. This is important because calling an external system (like the ERP’s REST endpoint) can take time, and you don't want to hold up the creation of the Account record in Salesforce.
By using a Trigger on Account creation, you can ensure the ERP system is called automatically whenever a new Account is created by users in the UC customer onboarding department.
If the call to the ERP system fails, Queueable allows you to manage retries or logging, and the Account creation can still proceed since the process is decoupled from the synchronous flow.
The key requirement here is that the Account must still be created even if the REST call fails. By making the REST call in a Queueable, you ensure that the Account creation process isn’t impacted by the success or failure of the call to the ERP system.
Recent Comments (The most recent comments are at the top.)
I think it's A
Here’s why:
Queueable Apex allows you to handle asynchronous operations. This is important because calling an external system (like the ERP’s REST endpoint) can take time, and you don't want to hold up the creation of the Account record in Salesforce.
By using a Trigger on Account creation, you can ensure the ERP system is called automatically whenever a new Account is created by users in the UC customer onboarding department.
If the call to the ERP system fails, Queueable allows you to manage retries or logging, and the Account creation can still proceed since the process is decoupled from the synchronous flow.
The key requirement here is that the Account must still be created even if the REST call fails. By making the REST call in a Queueable, you ensure that the Account creation process isn’t impacted by the success or failure of the call to the ERP system.