question

Claire Krupp avatar image
0 Likes"
Claire Krupp asked Claire Krupp commented

FindItem not working with dynamic label

I have three labels that I am searching for in a FindItem statement. The first two work perfectly, but when I try to use:

WHERE Status == "Dry"

it does not work. I have tried all kind of syntax changes, or making the "Dry" into a token.label value instead of a fixed string, but nothing works.

This statement does not give an error message, so I'm sure the syntax is correct, but it does not find the item - and I know they are in the rack because I also have a Global List which tracks them.

I'm wondering if the problem is that the pallet went in to the rack with Status == "Wet" and then it gets updated after it's drying time to "Dry". So in my List I need to use a dynamic label field. Perhaps the FindItem command has an internal list which does not accommodate dynamic fields?

I can't attach the model here since it is confidential, and too large to upload. (I could email it to the dev team if you need it.)

Can anybody shed some light on the problem? (I think I will have to do a regular Pull from my List and then use that to pick from the rack, but I would prefer to stick with the Storage System structure.)

Thanks!

FlexSim 21.1.4
flexsim 21.1.4finditemdynamic text
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Eric M avatar image
0 Likes"
Eric M answered Claire Krupp commented

Hi @Claire Krupp, the Find Item activity is reevaluated when a new item enters the rack (see "Find Item Process Flow Activity" at bottom of this page). Your model is probably not finding the item because there aren't any items entering the rack after the label change. Unfortunately, I don't know of a way to change the conditions for when it reevaluates the items.

One solution that could be an option is to use the "Max Wait Timer" in the Find Item activity and send it to a short delay that loops back into the Find Item activity. That way it would reevaluate at an interval you specify. It still won't find the item at the moment something changes to "Dry", though, which may or may not work in your situation. As you mentioned, lists are another option that would give you more control over the backorder reevaluations.

· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.