Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam B2B-Commerce-Administrator Topic 3 Question 64 Discussion

Actual exam question for Salesforce's B2B-Commerce-Administrator exam
Question #: 64
Topic #: 3
[All B2B-Commerce-Administrator Questions]

Which two are considered discrete units of work (code units) within a transaction in the debug logs?

Show Suggested Answer Hide Answer
Suggested Answer: C, D

Discrete units of work (code units) are blocks of code that execute as a single operation and can be rolled back if an error occurs. Within a transaction in the debug logs, the following are considered discrete units of work:

Web service invocation. This is a code unit that calls an external web service using SOAP or REST protocols. The web service invocation can be synchronous or asynchronous, and it can return a response or a fault. The debug logs show the request and response details, as well as the execution time and heap size of the code unit.

Apex class. This is a code unit that defines a custom class with variables, methods, constructors, and other elements. The Apex class can be invoked by triggers, Visualforce pages, Lightning components, or other classes. The debug logs show the entry and exit points, as well as the execution time and heap size of the code unit.Reference:

Execution Governors and Limits

Debug Log Analysis


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel