question

Daffa W avatar image
0 Likes"
Daffa W asked Braydn T answered

how can i trigger a source after one process is done

model-simulasi-2-pc.fsm i have this model and i want to trigger susu, kopi, and gula to create the item after the Pemsanan_pembayaran has its output. and the item is creating one by one (one Pemsanan_Pembayaran is done, one gula, kopi, and susu is created)

FlexSim 18.0.10
triggered source
· 2
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·

Sources aren’t objects that create items by triggered events. You close their output, stop their activity, but you don’t trigger them to create items. If you need such an activity in your model then you are supposed to build such a logic in process flow.

Hi @Daffa W, I recommend strongly you do some tutorials first, because you assume a behavior and a source code line should do it. This won't work. Please learn the basics. And please build much smaller models. A model consists primarily of a logic and not just inserted objects. Obviously you can ask questions? And you are welcome to do this here. You achieve your goals faster, if you have a basic knowledge, how this tool works.

0 Likes 0 ·
Daffa W avatar image Daffa W Joerg Vogel commented ·

how about i trigger the pembuatan kopi combiner instead of the sources? could it be done? the case is the same. the combiner just doing its job when the Pemsanan_Pembayaran has its output

0 Likes 0 ·

1 Answer

Braydn T avatar image
0 Likes"
Braydn T answered

@Daffa W

You can achieve this easily with Process Flow. I would go through these tutorials here: https://docs.flexsim.com/en/20.0/Tutorials/ProcessFlow/Tutorial1UsingSharedAssets/UsingSharedAssetsOverview/

5 |100000

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