Jump to content
Simio Forum
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! 

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...