I'm trying to grab the same color boxes from queue2 to queue8. What I'm having issue is with the partition field in queue2 (flow tab). when I add the item.Type to the partition field the tokens are not pushed to the list anymore. How can I fix this?
I'm trying to grab the same color boxes from queue2 to queue8. What I'm having issue is with the partition field in queue2 (flow tab). when I add the item.Type to the partition field the tokens are not pushed to the list anymore. How can I fix this?
@Ale i don't have full solution to your issues, but I noticed there isn't a Type label on the boxes in queue2 when I run the model. The boxes need a label before you can use it as a partition ID.
Hi, @Ale,
I have reattached the model with some changes in process flow activity. In the attached model, I have set label as "itemno" in the process flow then updated the label value based on the value of "itemnum" from the entering token. Check the quick properties for the labels associated with that token and process flow.
"itemno" >> label associated with the process flow.
"itemnum" >> label associated with entering the token.
Thanks,
@Raja Sekaran How did you get the value for the label below? did you used the sampler? and then just type the "Tool/ProcessFlow/ProcessFlow"?
Thanks!
Used sampler to get the value for the label. "itemno" label is associated with processflow not with token. You can get this label value using sampler. Check the quick properties window (process flow).
The problem is as @Kari Payton described. You do NOT have a label on the flowitem itself called Type. (see @Sam Stubbs answer). You have one on the token but not on the flowitem. I've modified your model (attached) with two changes that I've made. In the Create Object Process Flow object, I create a label on the created flowitem called Type using the Type that you already assigned to the token. That takes care of the problem in the Send To Port in Queue2. I changed that to item.Type.
The other problem after fixing that one that I noticed is that you were getting an error in the Move Object block where you are were using token.Color (I believe). But on the token there is no Color label. But I think you were just trying to use this label as the item. So I changed it to token.item rather than token.Color. It seems to work, at least it doesn't give any errors. So take a look at the model and see if it now works as you would like it to work.
If you have any questions or problems, please let us know.
Thanks.
@Jeff Nordgren Thanks for the model. The whole purpose is to grab from queue2 all the available boxes from the same type at once and drop them to the final queue. The label that I want to use is already defined in the schedule source (it determines what type of box it is) .
The model is still grabbing one box at a time and carrying the rest of the boxes with him as he loads and unloads the other items to the different queues.
Your problem is that your queue is pushing boxes to the list, not tokens. So you just add the item.Type to the partition ID in the push to list on your queue. Then you just need to make sure to add the Type label from your token to the box, so that it can be queried. So when you create the item in process flow, just make sure you add the Type label from your token to the box as well.
9 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