@Erica W
Everything is OK, just one little information is different compared
to the female operator. You have probably used the sampler tool to get
the reference to the operator doing the work. The source code need such
information, too. In pre-sampler times we build center connections to
reference objects directly. Drag a connection while holding the "s" key
from the queue to the operator. Because the operator is inside a visual
tool, you have to wait over the operator while you drag the connection
line a yellow frame shows up around the operator. Then you can release
the mouse button.
Otherwise you can change the reference in the source code:
treenode dispatcher = current.centerObjects[1];
This line references the taskexecuter doing the job.**
Mark only the current.centerObjects[1] and activate the sampler tool in the source code editor (left bottom border) and fetch the operator, then take the first entry model().find("Operator1").
The line should look like:
treenode dispatcher = model().find("Operator1");
**additional
information: The line tells exactly a dispatcher to administer the
tasksequences. When a dispatcher gets a tasksequence to store and
distribute, the dispatcher object decide which taskexecuter gets the
tasksequence to work on. Because each taskexecuter (operator,
transporter and so on) inherits the functionality of a dispatcher, there
isn't a mistake by describing the reference as a taskexecuter doing the
job.