question

Noah Z avatar image
2 Likes"
Noah Z asked Phil BoBo answered

Order of Execution for Separator?

I'm seeing Setup Time code execute before OnEntry code in the separator (see example model attached).

Is this purposeful? Why would the order of execution for separators differ from processors?

FlexSim 7.7.4
eventsseparatorsorder of execution
· 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.

Regan Blackett avatar image Regan Blackett ♦ commented ·

Hi Noah,

I did an event log of a separator and a processor

And based on this it seems like you are right; the order of events for the two objects are different but I don't know if this means it's a bug, a feature or a design choice. @Matt Long @phil.bobo

1 Like 1 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Regan Blackett ♦ commented ·

This looks like a bug, but the dev team is looking into it to make sure it's not this way on purpose. @anthony.johnson

0 Likes 0 ·

1 Answer

Phil BoBo avatar image
2 Likes"
Phil BoBo answered

I do not know the reason why these triggers are called in a different order on the Separator, but we haven't changed it so that old models continue to behave the same way in newer versions. I'll add a note to the dev list to consider changing the order of events on the Separator to make them consistent with the Processor.

5 |100000

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