Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8937

Compare

$
0
0

Hi,

 

I have a scenario where i need to develop a Business Rule to travel plans for a Employee between 2 flights with transit at malaysia.

 

First part of journey,an employee wants to travel from europe to Malaysia in a flight on a a date.

Second part of journey, he then wants to find the best match from Malaysia to New Zealand.

 

And he is trying to 2 simple rules would be to match the earliest flight leaving after the First flight arrives. And the preferred Airlines would be Malaysian Airles .

 

For Example,.Input would be 5 Flights from Europe to Malaysia on his preferred date.

                     And 7 flight leaving from Malaysia to New Zealand in the next 20 hrs.

 

Out put should be the best match with minimu transit with the preferred airline.

 

Below are the strucutres of my input an output.

 

Question is.. Should I do this with a Rule. And can I do it without a Rule Script.

becuase I saw that a rule script cannot be changed in the rules manager.

 

 

 

Input Strucutre1Input Strucutre2
Strucutre1 <1..n>Strucutre2 <1..n>
Flight NoFlight No
Departure TimeDeparture Time
Arrival TimeArrival Time
Passanger NamePassenger Name
CarrierCarrier

 

 

Output Strucutre
Journey1_Flight <0...1>
Flight No
Departure Time
Arrival Time
Passanger Name
Carrier
Journey2_Flight <0...1>
Flight No
Departure Time
Arrival Time
Passenger Name
Carrier

Viewing all articles
Browse latest Browse all 8937

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>