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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Claire Krupp,

We haven't heard back from you. @Eric M did not recieve an email with your model. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·

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.

Claire Krupp avatar image Claire Krupp commented ·

Thanks @Eric M for the clarification. I will try those options to see if it will work.


I'm not sure it's the re-evaluate that's a problem however, since when I first search for the rack, it has already been set at "Dry" for a while, and I am sure other racks have entered since then, so I should be able to pick it right away.

0 Likes 0 ·
Eric M avatar image Eric M Claire Krupp commented ·

Hmm that's interesting. I wonder if something else is going on then. Would you be able to send me the model at [email protected]?

Here's a little sample model I've been using to explore with (it may or may not be helpful to you). The token will pull a dry item immediately if there's one already in the rack, or it will wait until one changes to dry and another item enters the rack.

Rack dynamic label find item.fsm

0 Likes 0 ·
Claire Krupp avatar image Claire Krupp Eric M commented ·
Hi @Eric M sorry for the delay. I have made other changes which needed to be debugged before you could look at this. I will send the model shortly.


In the current version I am using a "Pull from List" instead of the "FindItem" and it works correctly, so I know that the "Dry" pallets are there and available at the time of the pull.

The FindItem I had been using is located nearby in the PF.

The first pull happens just after 4890 minutes - there is a breakpoint which will stop the model at that point. If you stop the model and then step through a couple times the token will appear in the Outbound section of the MH.

Another thing I noticed with the FindItem is that when I used only the static labels, it would give me a pallet, but it was never the oldest pallet, so it was not using FIFO, which was always the default in the past. Since I am using a simplified rack with long slots for this stage of development, I was wondering if this could have anything to do with pickRank? (And maybe pickRank is why the query is failing???)

Thanks for your help!


0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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