PL-400 · Question #411
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might…
The correct answer is B. No. The solution described does not meet the goal. Synchronous plug-ins execute immediately within the context of the transaction and are not ideal for making external HTTP requests, especially if retries are required. If the external REST API is unavailable and you raise an…
Question
Options
- AYes
- BNo
How the community answered
(16 responses)- A25% (4)
- B75% (12)
Explanation
The solution described does not meet the goal. Synchronous plug-ins execute immediately within the context of the transaction and are not ideal for making external HTTP requests, especially if retries are required. If the external REST API is unavailable and you raise an InvalidPluginExecutionException, the entire transaction will fail, and there won’t be any retry mechanism built into this approach.
Community Discussion
No community discussion yet for this question.