Jump to content
Simio Forum

Welcome to the Simio Forum

Welcome to the Simio Forum! Experience the full experience of the forum by becoming a Simio Insider! You must be an Insider to post on any forum!

Click_Here_button.png

New Software Release

Our latest release, Simio 11, is here!

Sign in to follow this  
Mamdouh Mubarak

Search step

Recommended Posts

I am trying to look for entities, of certain types, in a queue of a server to transfer them to a server. I am using the following:

Collection type: QueueState

Queue State name: Server1.AllocationQueue

Search Type: Forward 

Match condition: ModelEntity.EntityType.Is.productA || ModelEntity.EntityType.Is.productB

Search Expression: EMPTY. 

I know for a fact that the queue does contain entities of types ProductA and ProductB but the search step cannot find them. What am I missing here?

Thanks! 

  • Like 1

Share this post


Link to post
Share on other sites

What are you trying to do with the Search? How is the process that contains the search triggered? If you can provide either the model or some details of what you are attempting to do, it would be helpful. 

Share this post


Link to post
Share on other sites

Classic age old problem that has been the source of many a wasted hour and frustration....

Try candidate.ModelEntity.EntityType.Is.productA || candidate.ModelEntity.EntityType.Is.productB

Hope this helps...

  • Thanks 1

Share this post


Link to post
Share on other sites
Sign in to follow this  

×
×
  • Create New...