Database Reference
In-Depth Information
Execute if all the above conditions are false
and exit. Usually exceptions handling are coded
here.
The Switch activity provides multiple branches; however, only one branch is ex-
ecuted always. If the first
<case>
branch's condition is true, switch won't execute
any other
<case>
branches.
The
<otherwise>
branchisoptional. Thisgetsexecutedonlyifallthe
<case>
con-
ditions are false. Usually exceptions are coded here.
As shown in the following screenshot, drag the
Switch
activity from the JDeveloper's
Component Palette
:
Additional case blocks can be added by clicking on
Add Switch Case
. Click on
Add
Switch Otherwise
for adding
<otherwise>
branches, as shown in the following
screenshot: