Oracle SOA Suite 12c Essentials — Question 51
How are task outcomes processed in BPEL process?
Answer options
- A. by using a condition (present in each path of the human task activity) in which you specify the outcome that causes a particular path to be followed
- B. by using onMessage or pick activities that receive the outcome from the human workflow engine
- C. with a Switch containing a case for each outcome of interest plus an optional otherwise case after the human task activity
- D. with a Switch containing one case for each possible outcome after the human task activity
Correct answer: C
Explanation
The correct answer is C because a Switch statement in BPEL allows for handling different outcomes effectively, including an optional otherwise case for any unhandled scenarios. Option A is incorrect as it describes conditions rather than a structured outcome handling mechanism. Option B is not correct because it refers to message handling instead of direct outcome processing. Option D lacks the flexibility of an otherwise case, making it less comprehensive than C.