question

Luciano Cavallero avatar image
0 Likes"
Luciano Cavallero asked Luciano Cavallero commented

Wait for Event acitivity does not work with BasicTE

Hi,

use case is:

  1. simple model with a TaskExecuter object and a BasicTE object.
  2. a Task Executer process with two previous object as istances.
  3. a Wait For Event configured to wait for the OnResume() event on each instance.
  4. generate a token for each istance when simulation run that will move to the Wait For Event activity.

When call .resume() method the event is triggered for the TaskExecuter not for the BasiceTE.

Below a simple model:

wait-for-event-on-resume.fsm

Only to report the issue.

BR

--
Luciano Cavallero
Flexcon s.r.l.
Italy

FlexSim 19.0.0
process flow
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

·
Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered Luciano Cavallero commented

Thank you for reporting this. I think this might be a documentation/interface error. I think the Basic TE's events are different than other TE events. If you use the sampler, you can see that the Basic TE has a StopResume trigger that you can listen to, but the other TE does not.

I will put this issue on the dev list, and make sure we get the user manual and sampler options correct. My guess is that you will have to handle BasicTEs separately from regular TEs.

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

Luciano Cavallero avatar image Luciano Cavallero commented ·

Hi Jordan,

may post was only to report the issue.
I solved my issue using the old and reliable OnMessage().

BR

Luciano

1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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