question

Óscar Manuel CMN avatar image
0 Likes"
Óscar Manuel CMN asked tannerp answered

process flow error

Good evening to everybody.

The operator removes the orders from the list based on the ATC equation. That equation is defined in the "Pedidos" list. When you run the program it gives an error because at the beginning of the whole program it does not know "PulledQueue". To solve this I tried to create a label at the beginning of the process flow with an assign labels to initialize the value of "PulledQueue"but it did not work.

The problem is very similar to the last problem I had in this post: https://answers.flexsim.com/answers/86286/view.html

Therefore, I tried to fix it in the same way.

ATC-WHN1-SQ-k2_1.fsm



FlexSim 20.0.6
process flowflexsim 20.0.6
atc-whn1-sq-k2-1.fsm (809.5 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
0 Likes"
tannerp answered

Using the code I gave you to check if there's a puller only works if you check before you try and access the puller. In other words, you can try and access the puller and then check if the puller exists, like what was here in the code:

You can check first to see if the puller exists, and then if it does, you can assign its properties to variables in the code:

atc-whn1-sq-k2-1_1.fsm


5 |100000

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