Oracle
1Z0-478 · Question #71
You are modeling a conditional branch using a Switch element. You choose not to include an Otherwise branch. What is the result?
The correct answer is D. If none of the case branches can execute, control passes to (the next element in the BPEL model. Conditional branching introduces decision points to control the flow of execution of a BPEL process. You can use a switch activity to produce different actions based on conditional branching. You set up two or more branches, with each branch in the form of an XPath expression…
BPEL Process Manager
Question
You are modeling a conditional branch using a Switch element. You choose not to include an Otherwise branch. What is the result?
Options
- AA business fault is generated if one of the case branches cannot execute.
- BA design time error is indicated by JDeveloper.
- CYou need to include fault handler to account for the fact that none of the case branches can
- DIf none of the case branches can execute, control passes to (the next element in the BPEL model.
How the community answered
(30 responses)- A7% (2)
- B13% (4)
- C3% (1)
- D77% (23)
Explanation
- Conditional branching introduces decision points to control the flow of execution of a BPEL process. You can use a switch activity to produce different actions based on conditional branching. You set up two or more branches, with each branch in the form of an XPath expression. If the expression is true, then the branch is executed. If the expression is false, then the BPEL process moves to the next branch condition, until it either finds a valid branch condition, encounters an otherwise branch, or runs out of branches. If more than one branch condition is true, then BPEL executes the first true branch.
Topics
#BPEL switch#conditional branching#otherwise branch#flow control
Community Discussion
No community discussion yet for this question.