It says there is an invalid task has been encountered. involved2 is the object to unload to. I checked unload activity, token.pulled and token.productslot are with value, then why is the token couldn't unload successfully?
It says there is an invalid task has been encountered. involved2 is the object to unload to. I checked unload activity, token.pulled and token.productslot are with value, then why is the token couldn't unload successfully?
Because a slot is NOT an object. The rack of the slot would be an object.
you can evaluate the token label value as ownerobject([token.label]) or as flexscript warehouse class property slot.storageObject.
Thank you, it seems problem is that I'm using wrong class. I have changed the Object into Storage.Slot, and changed the item to Storage.Item. I'm sorry that I still don't understand why the token.productslot already has value in it, also in 3D flowitem the SLOT label has value in it, but it cannot be used.
The other way around: You have to pass an object into the "Unload" activity as the station, rather than the Storage.Slot class variable. This is also what Jörg meant. You can get a reference to the rack the slot is in through the two ways he suggested.
If the item was assigned to the slot prior to unloading it into the rack, it will automatically be placed in it, without calling the "Slot Assignment Strategy" of the rack.
14 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved