Emiliano Posted August 20, 2019 Share Posted August 20, 2019 Hello, I have recently encountered an issue while simulating an airport checkpoint and thus leading to the following question: Is it possible to match member and parent priorities under certain conditions? I am trying to differentiate between those travelers (parent entity) and baggage (member entity) going though an additional screening process prior to exiting the model. Take the following image as an example. I managed to provide a priority (red status label) to those entities going through the additional screening while also providing a rule for those with a priority of 5 to exit though Sink 3 (Those with a priority of 1 should exit through Sink1 ). However, the rule seems to only apply to the parent for a reason I assume to be that the baggage is an entity initiated by a "create" step in the processes window, rather than at its own source as the parent. The current rule I have is to decide the following ModelEntity.Priority==5.0, then assigning the desired node (Input@Sink3). In the picture, although the baggage (member) has a priority of 5, the traveler (parent) has a priority of 1 and the rule only applies to the parent. How could I match the priority of the parent, only under the case in which the parent has a higher priority? (Perhaps match the greatest priority of the member and the parent to generalize) I have tried everything possible and I cannot figure it out. Any help is greatly appreciated! Link to comment Share on other sites More sharing options...
Recommended Posts