Blue Prism Certified Solution Designer (ASD01) — Question 14
It's technically possible for one business object to call another. Outside of using utility objects are any of the following valid reasons why you would want to do this?
Answer options
- A. No. objects should never call other objects.
- B. Yes but object calling other objects could lead to undesirable memory problems so care must be taken.
- C. Yes, to create a wrapper object as a vehicle for a reusable sequence of application logic.
- D. Yes, but only if the object is calling itself.
Correct answer: C
Explanation
Option C is correct because creating a wrapper object allows for encapsulation of reusable application logic, enhancing code maintainability. Option A is incorrect as it dismisses valid use cases for inter-object calls. Option B highlights potential issues but does not provide a strong reason for calling objects. Option D is incorrect as it limits the context to self-referencing calls, which is not the primary intent of the question.