question

Leandro Meirelles avatar image
0 Likes"
Leandro Meirelles asked João Dias answered

Exception caught error

Hello,

I am facing an error on my model but I am failing to understand why.

Could someone point out what did I do wrong?

error.fsm

FlexSim 24.1.0
exception errorexception caught
error.fsm (18.7 MiB)
5 |100000

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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Leandro Meirelles commented

The Process Flow is moving the items out of the processors before the process has finished. When the finish event fires, the item it pertains to is longer inside the processor which causes the error. Use a Wait for Event activity to wait for the item finishing each step before loading it again.

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

Leandro Meirelles avatar image Leandro Meirelles commented ·
Thanks Felix!
0 Likes 0 ·
João Dias avatar image
0 Likes"
João Dias answered

Hello, Leandro,

The error occurs because the item loading times in Process Flow conflict with the item's process time. A possible solution to the error is to use Wait for Event in Process Flow, so it will wait for an event (the item finishing being processed) to start the next activity, which will solve the error!

I hope I've helped!

5 |100000

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