question

Kari Payton avatar image
1 Like"
Kari Payton asked Marcello Rosadini commented

How does the Dispatch TS work under task sequences?

I'm just curious how the "Dispatch Task Sequence" activity in Process Flow works and if it works with a dispatcher that has multiple operators connected to it. It is the one highlighted in blue.

FlexSim 16.1.0
process flowtask sequencedispatchermultiple operators
· 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.

Matt Long avatar image
2 Likes"
Matt Long answered Matt Long edited

The Dispatch Task Sequence is not an activity that would be commonly used. Each of the Task Sequence activities (Load, Unload, Delay...) dispatch the task sequence, whether the activity is on it's own or the task was appended to the end of a task sequence using the Create Task Sequence activity. There are really only two cases in which you would use the Dispatch Task Sequence activity.

1. A Task Sequence was pushed to a list via a Fixed Resource object and Process Flow was used to pull that task sequence off and gave it to a Task Executer. The process of pulling the task sequence off of the list does not dispatch it, so you would have to manually call dispatch.

2. The Create Task Sequence activity has the ability to create a task sequence but not assign it to a TE. This is done by clicking on the Remove button next to the Task Executer / Dispatcher box. This allows you to create an entire task sequence filled with tasks, without it being executed. You would then use the Dispatch Task Sequence activity later on to give the task sequence to a task executer.

Whether you use a regular task sequence activity or the dispatch task sequence, they will all work with a Dispatcher.


remove.png (3.2 KiB)
5 |100000

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

Sam Stubbs avatar image
0 Likes"
Sam Stubbs answered Kari Payton commented

So Process Flow tasks are normally broken up into separate task sequences for individual tasks (such as Travel, Load, etc) However you can establish a full task sequence with the Create Task Sequence. This gives you a label to reference the task sequence. Then you can add other tasks to it (like the Travel, and Load etc.) by having the executer point to the taskSequence Label. Then you can use the Dispatch Task Sequence to have your task executer execute that entire task sequence as a whole rather than the parts.

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