question

Adam J avatar image
0 Likes"
Adam J asked Joshua S commented

Order to execute messages

If one object recieves two messages from two differents objects for example two queues. In which order it will execute them ? Is there any way (apart from process flow) that will allow to choose which message the object will execute first ?

FlexSim 18.0.8
on message trigger
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

Allister Wilson avatar image
1 Like"
Allister Wilson answered Mischa Spelt commented

Assuming both messages are scheduled at the same simulation time, they will be executed in the same order they were created.
The only way to control which message is processed first is to ensure the first one you want processed is created first.

Is there a reason you don't want to use process flow? This sort of ordering problem is generally a non-issue when using it.

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