Index
OTHER
#
java.lang.Integer
java.lang.Integer
#
Description
OTHER
Scenario description
java.lang.String
java.lang.String
Scenario description
Driver
Points
0|1
GIVEN
Driver
Driver
number
Driver
Points
Violation
Type
0|6
GIVEN
Violation
Violation
Type
Violation
Type
Violation
Speed Limit
0|7
GIVEN
number
Violation
Speed Limit
Violation
Actual Speed
0|8
GIVEN
number
Violation
Actual Speed
Fine
Points
0|11
EXPECT
Fine
Fine
number
Fine
Points
Fine
Amount
0|12
EXPECT
number
Fine
Amount
Should the driver be suspended?
0|13
EXPECT
Should the driver be suspended?
Should the driver be suspended?
string
Should the driver be suspended?
value
src/main/resources/org/kie/example/traffic/traffic_violation/Traffic Violation.dmn
DMN
false
Above speed limit: 10km/h and 30 km/h
10
"speed"
100
120
3
500
"No"
1
Above speed limit: more than 30 km/h
10
"speed"
100
150
7
1000
"No"
2
Parking violation
10
"parking"
1
100
"No"
3
DUI violation
10
"driving under the influence"
5
1000
"No"
4
Driver suspended
15
"speed"
100
140
7
1000
"Yes"
5