Jump to content
afurlan

Problem with the seize of a vehicle

Recommended Posts

Hello, I have a problem in seizing a vehicle.

I have a vehicle that operates as both transporter and operator to some server. I need that this vehicle follow an entity during a process, operating to the server at which the entity is processed and transporting the entity from a server to the other one.

I have done this:

When the entity is generated it is directly sent to the first server. Here a process is started. First of all a process step seize the vehicle than an assign step in the same process increase the entity priority. This first process is add as add-on process when the server is processing. Another process release the vehicle at "after processing". in the output node on the server I set the option ride on vehicle. The same I do in the second server. In the vehicle option I set "Task selection" as highest priority and as "Ranking Rule": "Highest value" of the variable "ModelEntity.Priority".

At this point I expected that the vehicle follow the entity, but if a seocnd entity (with a smaller priority) arrives at the first server while the second server is processing, when the second server finishes to process the entity (with higher priority) and so the vehicle is released this come back to the first server instead of take up the entity at the output node to transport it to the next server. There are no output/input queue at the servers.

Is there somebody that can suggest me how to fix my model, it should be an easy task, but i'm stuck here and in hours i was not able to find a solution.

Tanks in advance for your dedication

Andrea Furlan

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×