question

Gui Vaccaro avatar image
0 Likes"
Gui Vaccaro asked Joerg Vogel edited

How can one set-up time-table Down or Resume behaviors programatically?

Hello,

I need to create a large number of time-tables to control shifts and operator groups. For each time-table, I need to set the associated group behaviors to "Travel To Object, Delay Until Down Time Complete" and select the destination object (different for each group). How can this be done via ProcessFlow or FlexScript?

Thank you!

FlexSim 24.2.2
custom codetimetable
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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel edited

You can call user defined node function that has parameters.

You can try to call your timetable function again by node function call to node of “c”.

Maybe you have noticed this kind of call of a node in ownerobject(c) to declare current object in a code.

You call a process flow sub flow by executesubflow.

Or you create a token in an activity.

5 |100000

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