Before Exit
Before Exit Visual Logic is a special case of Visual Logic that allows control over a Work Center when its route out is blocked. Before Exit Visual Logic runs whenever an item leaves a Work Center, and also when the route out is blocked. The Before Exit Visual Logic then will run continuously until a valid exit route is available.
Additionally, Before Exit Visual Logic is designed to work with Label Based routing where the Label used for Routing has a value 0.
For example, a Label value might be set to 0 when the content of a store reaches 10, so that the Work Center is unable to route the item out. When the content of the store is less than 10 then the Label is assigned a value of 1 and the item is allowed to continue to the store.