Certified Pega Senior System Architect v8.0 (2019) — Question 34
What is the difference between using the Call and Branch methods in an activity step to invoke other activities?
Answer options
- A. Branch overrides the security restrictions of the called activity allowing you to easily test code; it will not run in production.
- B. Branch creates a new thread to allow asynchronous processing, while Call runs in the thread from it was invoked.
- C. Call provides more robust debugging capability than Branch, while Branch provides better run-time performance.
- D. Call returns to the originating activity, while Branch skips the remainder of the originating activity.
Correct answer: B
Explanation
The correct answer is B because Branch does indeed create a new thread, enabling asynchronous processing, while Call executes in the same thread as the invoking activity. The other options either misrepresent the functionality or focus on aspects that don't accurately describe the core differences between the two methods.