question

Geanina E avatar image
0 Likes"
Geanina E asked Geanina E commented

Store processing time on label

Hello, how can I store an item's processing time on a label to use it later on a OnExit Trigger?

FlexSim 16.1.2
labels and processing time
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

Braydn T avatar image
0 Likes"
Braydn T answered Geanina E commented

Hey @Geanina E

The way I did this was by creating a Global Variable called ProcessingTime.

Then I changed the code for the Process Time here:

To look like this:

If you are not familiar with coding, I assign the Global Variable to the statistical distribution, and then return that Global Variable, so the Processing Time is stored.

Then, I create an OnProcessFinish Trigger:

and I assign the value in that field to the ProcessingTime variable.

Now that label is able to be accessed on an OnExit trigger.

Let us know if you have any more questions!


processtimecode.png (64.7 KiB)
label.png (29.5 KiB)
· 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.

Geanina E avatar image Geanina E commented ·

@Braydn T thank you so much for your help!

0 Likes 0 ·