WD0001 Posted October 25, 2024 Share Posted October 25, 2024 (edited) I have a process that is triggered by a node's Entered event. However, it throws this error, because the entity's current location is actually still on the inbound link at the time the event is fired. If I execute it as an add-on process instead, then it works. The entity's current location is actually still on the inbound link at the time of the event. I can confirm this by changing the expression to show the link's name instead. Looking at the node's OnEntered process, EnteredAddonProcess executes immediately after EnteredEvent. Is this a bug? I am using Simio 15.252.31775 (64 bit) Edited October 25, 2024 by WD0001 Link to comment Share on other sites More sharing options...
ViniciusF Posted October 25, 2024 Share Posted October 25, 2024 I came across with that before, and it is a bit confusing. I'm using version 15.240.27700 I learned that you shouldn't use this Entered Event to control the entity either. For example, If you put a delay on it, the entity will not stop for the delay time. If you trace it, you see that Entered Event is fired, but the process is not executed right away. Instead EnteredAddonProcess is executed before. Not only EnteredAddonProcess is executed before, but the entire logic is executed, so it executes ToOutboundLink before executing the process activated by the EnteredEvent. The reason it works on EnteredAddonProcess is because the token stops there, executes the addon process, then continue. With the Entered Event, the token does not wait. Link to comment Share on other sites More sharing options...
Recommended Posts