article

Paul Toone avatar image
0 Likes"
Paul Toone posted

Global Task Sequences Concepts   

Global Task Sequences (GTS) are accessed from the Toolbox. (View menu > Toolbox > Add > Modeling Logic > Global Task Sequences).

Global Task Sequences let you build Task Sequences through a graphical user interface instead of through code. Once you create a GTS, you can dispatch it to a TaskExecuter through the Use Transport picklist of a FixedResource object.

GTS are built by first creating object reference aliases, and then by creating tasks associated with those references. The object references can be either dynamic or static.

  • Dynamic - Dynamic references are resolved at the time that the instance of the GTS is actually created by being passed in as dynamic parameters to the createglobaltasksequence() command (Par1 - 5 in the image above).
  • Static - Static references stay the same across all created instances of the GTS.

As seen in the above image, up to five dynamic parameters can be passed into the GTS. These parameters are references to nodes or objects in the model. They allow you to define one GTS that can be used across multiple objects if necessary. A GTS may also have any number of static variables.


Name - The name of the GTS. The combobox has a list of all GTS in the model, allowing you to quickly jump to different GTS.

- Create a new GTS.

- Delete the current GTS.

Priority - This value sets the priority of the GTS Transporters and dispatchers generally sort task sequences so that sequences with higher priorities will be performed first. Task sequences with the same priority will be performed in the order that they were received.

Preempt - If set to one of the preempting values, the task sequences sent to the transporter will automatically preempt whatever the transporter is doing at the time. This may cause the transporter to perform tasks that would normally not be allowed, such as carrying more flowitems than its capacity. For more information on preempting task sequences, see Task Sequence Preempting.

Apply - Saves all changes to the GTS.

OK - Saves all changes to the Time Table and closes the window.

Cancel - Cancels any unsaved changes made to the GTS and closes the window. Please note, there are many parts of the GTS window that apply immediately and are unaffected by pressing Cancel. Adding Tasks and renaming reference variables for example.

References Page

- Adds a new reference.

- Removes the selected reference.

References List - Displays all of the GTS references which can be any number of static parameters, and up to five dynamic parameters.

Name - This is the name of the Reference. This name will be used on the Task Sequence page for defining parameters for each Task Sequence type.

Type - Select this reference to be either Static or Dynamic.

Reference - For Dynamic types, this is a set parameter value from 1-5. For static types, this is the path an object in the model.

- Static type only. Opens a Tree Browse Dialog allowing you to select a node from the tree. Any node or object attribute may be selected.

- Static type only. Opens a popup allowing you to select an object in the model.

- Static type only. Click to enter "Sample" mode, then sample an object, node or attribute in your model.

Task Sequence Page

Tasks List - This is a list of all avliable Task Sequence Types. Drag and drop from this list to the Current Task List to add that task. For more information on these types, see the Task Types page.

- Adds a new Task.

- Removes the selected Task.

- Reorder's Tasks Up or Down in the list.

Current Task List - Displays the set of Tasks for this GTS. Once dispatched, the TaskExecuter will execute each task in order as displayed in this list.

Name - A descriptive name for the Task that will appear in the Current Task List.

Task Type - The Task Type of the currently selected Task.

The remaining fields are context sensitive based upon which Task Type is currently selected. The comboboxes like Destination as shown above, contain a list of all Dynamic and Static parameters. The remaining four fields must contain numeric data. They do not execute flexscript!

For more information on how Task Sequences work, refer to the Task Sequences section.



flexsim users manualusers manual
5 |100000

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

Article

Contributors

paul.t contributed to this article

Navigation

FlexSim 2016.1