PEGACPSSA23V1 practice question 24 of 25

What is the difference between using the Call and Branch methods in an activity step to invoke other activities?

Full set: 141 questions
Answer options
A: Call provides more robust debugging capability than Branch, while Branch provides better run- time performance.
B: Branch overrides the security restrictions of the called activity allowing you to easily test code; it will not run in production.
C: Branch creates a new thread to allow asynchronous processing, while Call runs in the thread from it was invoked.
D: Call returns to the originating activity, while Branch skips the remainder of the originating activity. Correct answer
Correct Answer:
D. Call returns to the originating activity, while Branch skips the remainder of the originating activity.
Explanation

The difference between using the Call and Branch methods in an activity step to invoke other activities is that Call will return to the originating activity once the called activity completes, while Branch will not return to the originating activity and will skip the remainder of it after the called activity completes. Reference: Pega official documentation on activity methods.

Scroll to Top