Hi there, I am modeling an ED. Patients arrive by ambulance and on foot and compete for the same resource: beds. I would like to model a conditional priority - if there are more than a certain number of ambulances waiting to offload their patient, then give the ambulance patients a higher priority to access the beds. Otherwise just service FIFO. How can I achieve this?