question

Enrique Elizaga avatar image
0 Likes"
Enrique Elizaga asked Joerg Vogel edited

is there a "delay" command?

Hi guys. Is there a delay command like "delay(minutes(2),STATE_PROCESSING)" and why not? Not in process flow, just hard code.

It would be very convenient.

FlexSim 17.2.2
codedelaycomand
· 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.

FSTModule Talumis avatar image
3 Likes"
FSTModule Talumis answered Joerg Vogel edited

@Enrique Elizaga Until now we have never had the need for such a command. So could you explain exactly what you want to use it for? Then we probably can give you an answer on how you can do it.

For now check out the stopobject() or the senddelayedmessage() commands. They give you probably all the functionality you are looking for.

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

Joerg Vogel avatar image
1 Like"
Joerg Vogel answered

There is only a couple of commands. stopobject - resumeobject. An object that a stopobject command is called on is dead. The object isn't able to receive messages or send messages. The resumeobject command must be called by another active object. The delay time is event driven by a message, an user event or any other 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.