question

Will L avatar image
0 Likes"
Will L asked Will L commented

Source Arrival Sequence | Label & Color Creation

test.fsmHello!

I am looking to use the arrival sequence function. I have 513 arrivals with a total quantity of 1421. I have 939 Office supplies, 363 sporting goods and 119 toys. Summing up to 1421. Under triggers I have set on creation set label and color. Is it possible to set the label and color that corresponds to my arrival sequence table?

I have attached my model. Please check source1!

Please let me know if you have questions!

Thanks,

Will

FlexSim 20.0.0
sourcearrival sequencesource sequencearrival
test.fsm (106.9 KiB)
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

·
tannerp avatar image
1 Like"
tannerp answered Will L commented

Hi @Will L,

I'm assuming you'd like to set the color based on whether it's a office supply, sporting good, etc. I created triggers that assign a "Type" label, which is just the value of the "Category" column in your table for that particular item. Then, using that label, I match it two a Values by Case function that sets the color.

Hopefully this is what you're looking for or at least gets you started with an idea. Let us know if you're looking for something else and we'll do our best to help.

set-color-by-category.fsm


· 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.

Will L avatar image Will L commented ·

@tanner.p
Thank you for the help. That does answer my first question. However, after it passes over the conveyor and operator 2 carries it to combiner 1-3 I was sorting each color by expression. I see that no longer works. Is there a way to then sort by the type you assigned above. I played around with it but couldn't figure it out.

Let me know!

Thanks,

Will

0 Likes 0 ·
tannerp avatar image tannerp Will L commented ·

@Will L,

That's my bad. I think my "Type" label overwrote whatever you had going. I'll change that to "Category" and then assign "Type" to be a number associated with the category of the good. Let me know if this works for you. Thanks!

color-by-category-updated.fsm

0 Likes 0 ·
Will L avatar image Will L tannerp commented ·

Perfect!!!! Thank you!

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.