org.kie.kogito.examples.ScheduleFlight.bpmn2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of process-optaplanner-quarkus
Show all versions of process-optaplanner-quarkus
Flight assignment process and optimization
true
true
true
true
true
true
true
true
true
Update Is Solving
_84ABBA79-4757-4215-8959-2747FAC73471
_7FCA2AF9-B5EB-4C08-ABF5-E10D9917E88E
kcontext.setVariable("isSolving", false);
Solver Terminated
_A59B010C-5D2C-45DF-9219-A46D06EEE82D
_84ABBA79-4757-4215-8959-2747FAC73471
_A6004C5E-5187-4DDE-A3C0-E7CA351B2E96_finalBestSolutionOutputX
flight
_A6004C5E-5187-4DDE-A3C0-E7CA351B2E96_finalBestSolutionOutputX
Init Variables
_F33764FA-886E-4033-AD8B-7D7F0FC5EA5D
_4F515548-C937-4BA7-84D5-21776CFD70D5
kcontext.setVariable("isPassengerListFinalized", false);
kcontext.setVariable("isSolving", true);
kcontext.setVariable("processId", kcontext.getProcessInstance().getStringId());
Create Seat Assignments
_EF6673DD-1D02-4E37-833A-810CB29DC113
_A59B010C-5D2C-45DF-9219-A46D06EEE82D
_33D305B7-7E3C-4704-860C-F3B6C4262B37_problemIdInputX
_33D305B7-7E3C-4704-860C-F3B6C4262B37_problemInputX
processId
_33D305B7-7E3C-4704-860C-F3B6C4262B37_problemIdInputX
flight
_33D305B7-7E3C-4704-860C-F3B6C4262B37_problemInputX
_29D92CB9-DE14-4571-9399-FD1BAD9595D6
Finalize Seat Assignments
_7FCA2AF9-B5EB-4C08-ABF5-E10D9917E88E
_29D92CB9-DE14-4571-9399-FD1BAD9595D6
_F9063D79-F12D-4F18-9EE2-7034AE7C4776_TaskNameInputX
_F9063D79-F12D-4F18-9EE2-7034AE7C4776_SkippableInputX
_F9063D79-F12D-4F18-9EE2-7034AE7C4776_TaskNameInputX
finalizeSeatAssignment
_F9063D79-F12D-4F18-9EE2-7034AE7C4776_TaskNameInputX
_F9063D79-F12D-4F18-9EE2-7034AE7C4776_SkippableInputX
false
_F9063D79-F12D-4F18-9EE2-7034AE7C4776_SkippableInputX
Finalize Passenger List
_1C8C09DA-FFCF-4ACA-A3FD-D63E14B32C41
_EF6673DD-1D02-4E37-833A-810CB29DC113
_5289B275-031F-437C-9538-CF0D3D4E83B9_TaskNameInputX
_5289B275-031F-437C-9538-CF0D3D4E83B9_SkippableInputX
_5289B275-031F-437C-9538-CF0D3D4E83B9_isPassengerListFinalizedOutputX
_5289B275-031F-437C-9538-CF0D3D4E83B9_TaskNameInputX
finalizePassengerList
_5289B275-031F-437C-9538-CF0D3D4E83B9_TaskNameInputX
_5289B275-031F-437C-9538-CF0D3D4E83B9_SkippableInputX
false
_5289B275-031F-437C-9538-CF0D3D4E83B9_SkippableInputX
_5289B275-031F-437C-9538-CF0D3D4E83B9_isPassengerListFinalizedOutputX
isPassengerListFinalized
Create a new flight
_4F515548-C937-4BA7-84D5-21776CFD70D5
_1C8C09DA-FFCF-4ACA-A3FD-D63E14B32C41
_3DA12126-C2FD-49CE-9119-615965FAC79D_flightParamsInputX
_3DA12126-C2FD-49CE-9119-615965FAC79D_flightOutputX
params
_3DA12126-C2FD-49CE-9119-615965FAC79D_flightParamsInputX
_3DA12126-C2FD-49CE-9119-615965FAC79D_flightOutputX
flight
Process Start
_F33764FA-886E-4033-AD8B-7D7F0FC5EA5D
New Best Solution
true
true
_FC08A6A9-83FD-4950-B063-830CCB08F55B
New Best Solution
_FC08A6A9-83FD-4950-B063-830CCB08F55B
_61AEF811-220F-4DB6-B0A1-818711C48323_newSolutionOutputX
flight
_61AEF811-220F-4DB6-B0A1-818711C48323_newSolutionOutputX
Passenger Boarding Request
true
true
true
true
true
return !isPassengerApproved;
true
true
return isPassengerApproved;
true
true
true
true
_94AD6769-D320-49C0-9CC1-92132A075462
_A95FF555-9C22-42E4-A25F-7D4724BD2AEF
Add Passenger To Flight
_C6BEB443-A465-4A89-B0CE-ACB76BEE7D03
_A95FF555-9C22-42E4-A25F-7D4724BD2AEF
_5509C065-1D42-426E-8FF9-64D1E2E7B2EF_flightInputX
_5509C065-1D42-426E-8FF9-64D1E2E7B2EF_passengerInputX
_5509C065-1D42-426E-8FF9-64D1E2E7B2EF_flightOutputX
flight
_5509C065-1D42-426E-8FF9-64D1E2E7B2EF_flightInputX
passengerRequest
_5509C065-1D42-426E-8FF9-64D1E2E7B2EF_passengerInputX
_5509C065-1D42-426E-8FF9-64D1E2E7B2EF_flightOutputX
flight
Is Passenger Approved?
_3FD370AA-36A7-4074-8977-5F58E0E88F04
_C6BEB443-A465-4A89-B0CE-ACB76BEE7D03
_94AD6769-D320-49C0-9CC1-92132A075462
Approve/Deny Passenger
_8AE45BEB-7A37-4A21-B22A-3DA124D3368E
_3FD370AA-36A7-4074-8977-5F58E0E88F04
_1120E34E-319E-49DF-AF68-7BB569F92ADC_TaskNameInputX
_1120E34E-319E-49DF-AF68-7BB569F92ADC_passengerInputX
_1120E34E-319E-49DF-AF68-7BB569F92ADC_SkippableInputX
_1120E34E-319E-49DF-AF68-7BB569F92ADC_isPassengerApprovedOutputX
_1120E34E-319E-49DF-AF68-7BB569F92ADC_TaskNameInputX
approveDenyPassenger
_1120E34E-319E-49DF-AF68-7BB569F92ADC_TaskNameInputX
passengerRequest
_1120E34E-319E-49DF-AF68-7BB569F92ADC_passengerInputX
_1120E34E-319E-49DF-AF68-7BB569F92ADC_SkippableInputX
false
_1120E34E-319E-49DF-AF68-7BB569F92ADC_SkippableInputX
_1120E34E-319E-49DF-AF68-7BB569F92ADC_isPassengerApprovedOutputX
isPassengerApproved
New Passenger Boarding Request
_8AE45BEB-7A37-4A21-B22A-3DA124D3368E
_3F96473B-23BA-4A72-83D3-3EA4B33665D1_passengerOutputX
passengerRequest
_3F96473B-23BA-4A72-83D3-3EA4B33665D1_passengerOutputX
_vwHIoEHoEDiXOM4OQNRdYQ
_vwHIoEHoEDiXOM4OQNRdYQ