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 Strucutre1 | Input Strucutre2 |
Strucutre1 <1..n> | Strucutre2 <1..n> |
Flight No | Flight No |
Departure Time | Departure Time |
Arrival Time | Arrival Time |
Passanger Name | Passenger Name |
Carrier | Carrier |
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 |