Hi,
I am trying to control the availability of rooms using a global table "StaffRosters" and a custom code in ProcessFlow2. Understand that timetables can be created directly in Flexsim, but doing so will be extremely tedious in my use case where there is 100+ timetables to control. The problem that seemed to exist for using the custom code is that patients after the rows of "0"s, are unable to acquire the rooms even when the global table is reverted back to "1"s.
Please find the attached model with the problem described above. Thank you!