question

Samuelj47 avatar image
0 Likes"
Samuelj47 asked Samuelj47 commented

TaskExecuter Time stamp before and after a task

hello,

I have multiple task executors that arrive acording to a calendar with an amount to load and unload, i need to export in an excel the time and date in wich the task executer arrives to be unloaded and also when it leaves once loaded (2 dates and time for each TaskExecuter). I tried assign label and then use statistics collector but it doesn´t print the values. Any help is appreciated. Thanks

truck load and unload.fsm

FlexSim 22.1.1
proces flowtaskexecutortimestamp
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Samuelj47, was Jeanette F's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Jeanette F avatar image
1 Like"
Jeanette F answered Samuelj47 commented

Hello @Samuelj47,

I created a global table that has a reset trigger to clear to table. I placed two custom code activities that both write to the table. When you stop the model you can export the global table.

1657057421261.png

1657057439259.png

1657057453932.png

1657057317276.png

truck-load-and-unload_1.fsm

Arrival_Departure.xlsx


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

Samuelj47 avatar image Samuelj47 commented ·

Thank you very much Jeanette, it was exactly what i was looking for

0 Likes 0 ·

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.