Databases Reference
In-Depth Information
As with our original rule, the first condition we want to test is the type of leave
request, so select TLeaveRequest.leaveType from the drop-down list.
For our first rule, we want to check that the leave request is of type Vacation , so click
on the appropriate cell (the intersection of C1 and R1 ). The rule editor will present us
with a drop-down listing our options. In this case, directly enter Vacation , as shown
in the following screenshot:
The next step is to add a second condition to test the leave duration. To do this, click
on the green plus icon and select Conditions . This will add another condition row
to our decision table. Click on <edit condition> and use the expression builder to
define the following:
leaveDuration(TLeaveRequest.startDate,TLeaveRequest.endDate)
 
Search WWH ::




Custom Search