question

Ghadir S avatar image
0 Likes"
Ghadir S asked Ghadir S edited

Label does not exist - Item in process flow

I'm trying to connect to sub flow to a batch and combine their items together. It keeps saying Label does not exist yet I'm sure I added label literally everywhere.
LineP3_1.fsm
I would really appreciate if you guys could help me out.

FlexSim 21.2.4
process flowpull from listsub flow
linep3-1.fsm (85.2 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

Jacob W2 avatar image
0 Likes"
Jacob W2 answered Ghadir S edited

Hi @Ghadir S,

The problem is that at your batch activity you are trying to aggregate two labels called Item. Before the batch activity you have two labels called Type1Items and Type2Items. Since you don't have a label called Item, you cant aggregate those labels and it returns a null value to your label Items after the batch activity. You will need to make your Type1 and Type2 item labels to be Item for your label aggregation to work correctly.

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

Hello @Ghadir S,

I assumed that you only wanted one of Type 3 and Type 4 to be moved into the combine queue. I moved the zones so that this would be the case. I added a partition to the zone so I could restrict the zone to only allow one of each type in. The other thing I added was a list which is what would allow to the synchronizing of your process flow. The token will not move on from the push to list until it is pulled from the list.

1680988802574.png

hopefullyfinalone_1.fsm

1 Like 1 ·
Ghadir S avatar image Ghadir S Jeanette F ♦♦ commented ·

Thank you very much!

0 Likes 0 ·
Ghadir S avatar image Ghadir S commented ·

Clearly Flexsim is not as easy as Python to find answers and more information but do you know any other way that I can improve my skills with flexsim because I've watched all of your tutorials so far.

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ Ghadir S commented ·

Hello @Ghadir S,

We have several learning tools that you can use.

1 Like 1 ·
Jacob W2 avatar image Jacob W2 ♦ Ghadir S commented ·
The best way to improve your skills with FlexSim is to practice using it more. Find different types of models that interest you such as warehousing or a manufacturing line, and then attempt to build it out. Use this forum to look for solutions to different issues that you run into, and if you can't find any create your own.
1 Like 1 ·
Ghadir S avatar image Ghadir S Jacob W2 ♦ commented ·

Thank you Jacob.

I'm having another trouble. I'm trying to use a batch to combine items together (which I called them 3 & 4) I'm trying so hard to put some sort of condition but it doesn't work. Basically, I want to combine item 3 et 4 together and get a new one out of it.

I really hope you can help me with this one as well. I tried (Wait for Event) and (Decide) but I got no where.

The left is working fine but the right side, I just can't stop generating.

HopefullyFinalOne.fsm
Sincerely,
Ghadir

0 Likes 0 ·
hopefullyfinalone.fsm (119.8 KiB)