rule "Basic1"
when
xpathGreaterThan "count(/OrderLineList/OrderLine/Order[@OrderType = 'PICK-UP'])", "0"
then
Log : "Inside_Pickup";
Destination : "Send";
end
rule "Routing Rule to ReminderSend using XPATH" extends "Basic1"
when
xpathEquals "count(/OrderLineList[(@IsPICKUPReminder)])", "1"
then
Log : "ReminderSend";
Destination : "ReminderSend";
end
rule "Routing Rule to Send using XPATH" extends "Basic1"
when
xpathEquals "count(/OrderLineList[(@IsPICKUPReminder)])", "0"
then
Log : "Send";
Destination : "Send";
end