PlainTransfer

A place to write some action when agent passes through some point of your flowchart.

Note that On at enter code is executed when agent decides that it most likely goes through this block, but it still did not enter this block. The resulting behavior depends on the target receiver block: it may be currently busy, and, moreover, the preceding block may cancel this agent (it may be Hold becoming blocked). After such cancelling the agent may be even directed to some other path, e.g. because of recalculated conditions in preceding SelectOutput blocks.

Parameters

Agent type
The type of the agents going through block.
On at enter [code]
Code executed when the agent decides that it most likely goes through this block.
Local variable: agent - the agent 
On cancel enter [code]
Code executed when enter for the agent is canceled.
Local variable: agent - the agent
On enter [code]
Code executed when the agent enters the block.
Local variable: agent - the agent

Functions

long count() -  Returns the number of agents, which passed through this block.

boolean isPortInConnected() - Returns true if 'in' port of this block is connected to some other block.

boolean isPortOutConnected() - Returns true if 'out' port of this block is connected to some other block.

Ports

in
The input port.
out
The output port.