Create a simple task sequence

Create a task sequence to transport a single item using a single operator in your process flow.


Tutorial resources

These downloadable resources will be used to complete this tutorial:


00:03

In a process flow, a task sequence is a series of tasks that are performed together and assigned to a task executer,

00:10

such as an Operator or a Transporter.

00:13

Task sequences are essential for modeling and controlling the behavior of task executers in your model,

00:19

enabling an accurate simulation of both simple and complex processes.

00:24

Here, review an example of a simple task sequence, where items arrive through the Source,

00:30

enter the first Queue, and are then transported by an Operator to the Conveyor.

00:37

You can easily set this up directly in your model using 3D logic by connecting the Queue to the Conveyor,

00:45

center-connecting the Queue to the Operator, and then, in Queue Properties, selecting Use Transport.

00:53

Watch as the model is Reset and Run.

00:56

While this setup does work, alternatively, you can create a task sequence in your process flow to achieve this same result,

01:03

but that also offers increased flexibility and more options for customization.

01:08

With the 3D connectors removed, begin in the ProcessFlow.

01:13

In this scenario, open the Quick Library to add an Event-Triggered Source.

01:18

Then, next to the Source, click the Sampler.

01:23

In the Model, select Queue1, and in the drop-down, select Queue1: On Entry.

01:30

Next, in Source Properties, add a Label Name for the token, noting that labels are case sensitive.

01:37

Here, the name “item” is used.

01:40

Then, set the Operation to assign.

01:44

Back in the ProcessFlow, add a connector from the Source, and then, in the Quick Library, select Create Task Sequence.

01:53

In the Create Task Sequence Properties, next to Task Executer / Dispatcher, click the Sampler, and then, in the Model, select Operator1.

02:05

In the ProcessFlow, add a Load activity to the Create Task Sequence activity to create an activity block.

02:12

Open the Load Quick Properties to view the default values.

02:17

If you look back at the Create Task Sequence and Source properties, you see that the task sequence and item are already assigned,

02:24

and then it will pick up at the Queue, or Station, which is the Item Container, so you can leave all of the defaults here.

02:31

Next, add an Unload activity to the ProcessFlow.

02:36

In the Quick Properties, leave the default values for the Executer and Item fields,

02:41

and for the Station field, click the Sampler.

02:45

In the Model, select EntryTransfer3 on the Conveyor.

02:49

In the ProcessFlow, add a Finish Task Sequence activity, and then a Sink to complete the sequence.

02:57

Reset and Run the model, and you can see that the Operator takes the items from the Queue and then unloads the items at the Conveyor.

03:05

Now you can create a task sequence to transport a single item using a single operator in your process flow.

Video transcript

00:03

In a process flow, a task sequence is a series of tasks that are performed together and assigned to a task executer,

00:10

such as an Operator or a Transporter.

00:13

Task sequences are essential for modeling and controlling the behavior of task executers in your model,

00:19

enabling an accurate simulation of both simple and complex processes.

00:24

Here, review an example of a simple task sequence, where items arrive through the Source,

00:30

enter the first Queue, and are then transported by an Operator to the Conveyor.

00:37

You can easily set this up directly in your model using 3D logic by connecting the Queue to the Conveyor,

00:45

center-connecting the Queue to the Operator, and then, in Queue Properties, selecting Use Transport.

00:53

Watch as the model is Reset and Run.

00:56

While this setup does work, alternatively, you can create a task sequence in your process flow to achieve this same result,

01:03

but that also offers increased flexibility and more options for customization.

01:08

With the 3D connectors removed, begin in the ProcessFlow.

01:13

In this scenario, open the Quick Library to add an Event-Triggered Source.

01:18

Then, next to the Source, click the Sampler.

01:23

In the Model, select Queue1, and in the drop-down, select Queue1: On Entry.

01:30

Next, in Source Properties, add a Label Name for the token, noting that labels are case sensitive.

01:37

Here, the name “item” is used.

01:40

Then, set the Operation to assign.

01:44

Back in the ProcessFlow, add a connector from the Source, and then, in the Quick Library, select Create Task Sequence.

01:53

In the Create Task Sequence Properties, next to Task Executer / Dispatcher, click the Sampler, and then, in the Model, select Operator1.

02:05

In the ProcessFlow, add a Load activity to the Create Task Sequence activity to create an activity block.

02:12

Open the Load Quick Properties to view the default values.

02:17

If you look back at the Create Task Sequence and Source properties, you see that the task sequence and item are already assigned,

02:24

and then it will pick up at the Queue, or Station, which is the Item Container, so you can leave all of the defaults here.

02:31

Next, add an Unload activity to the ProcessFlow.

02:36

In the Quick Properties, leave the default values for the Executer and Item fields,

02:41

and for the Station field, click the Sampler.

02:45

In the Model, select EntryTransfer3 on the Conveyor.

02:49

In the ProcessFlow, add a Finish Task Sequence activity, and then a Sink to complete the sequence.

02:57

Reset and Run the model, and you can see that the Operator takes the items from the Queue and then unloads the items at the Conveyor.

03:05

Now you can create a task sequence to transport a single item using a single operator in your process flow.

Was this information helpful?