zakiayyubi Posted November 6, 2018 Share Posted November 6, 2018 Hi there - My entities are going into a wait step based on a condition. So at any point in time I may or may not have multiple entities in the wait step. When I fire an event to release entity from the wait step all the entities which are in the wait step at the time event is fired get released. I don't want that, I want wait to release only one entity every time release event is fired. Any ideas how I can achieve this? Thank you. Link to comment Share on other sites More sharing options...
gocken Posted November 6, 2018 Share Posted November 6, 2018 Create a process which includes a search step for searching a specific entity. Fire this process whenever a specific condition occurs. Link to comment Share on other sites More sharing options...
zakiayyubi Posted November 6, 2018 Author Share Posted November 6, 2018 Thank you Gocken but I am so sorry I can't follow. To search specific entity (entity which arrived first in my case) how can I search the queue associated to wait step? Or do you mean I use storage queues instead of wait step. Link to comment Share on other sites More sharing options...
MEagar Posted November 7, 2018 Share Posted November 7, 2018 Very Interesting as I am grappling with the exact same issue at this point in time.... In short the answer lies in the condition (see attached)...If you are looking for the first entity to be released in the queue, the screenshot will work....Still looking at how to select specific entities and will let you know once I have figured it out.... Link to comment Share on other sites More sharing options...
zakiayyubi Posted November 7, 2018 Author Share Posted November 7, 2018 Wow! That looks like a very simple and neat solution to my problem. Thanks a ton! Can you explain the expression in Event Condition. I am assuming ent_Barge is a variable or is it an object? Link to comment Share on other sites More sharing options...
gocken Posted November 7, 2018 Share Posted November 7, 2018 yes, in my solution a wait step is not required and use storage queue instead of wait step. Be sure it will work. Link to comment Share on other sites More sharing options...
MEagar Posted November 9, 2018 Share Posted November 9, 2018 (edited) So I have a rather complex issue that needs to be resolved basis multiple entities in a wait block. I think this is actually the first decent use I have found for a storage queue as it seems to allow me to shuffle the entities within the wait block, basis entry and exit ranking rules. I can then just use the condition in the wait block to match the specific or subset of entities that adhere to the condition in the storage queue (see attached) Edited November 9, 2018 by MEagar Link to comment Share on other sites More sharing options...
Recommended Posts