Specifications

because it is waiting for an external event, can invoke this function
at regular intervals to determine whether it should abort its operation.
Connection class
An instance of the Connection class represents an incoming or outgoing connection for the flow
element associated with the script (see connection and script element for background information).
Connection objects can be obtained through functions of the Switch class.
Accessing the flow definition
Returns the name of the connection as displayed in the canvas; this
may be an empty string.
getName( ) : String
Returns a string that uniquely identifies the connection (within the
limits of the guarantees described below). Callers should not rely on
getElementID ( ) : String
the syntax of the returned string as this may change between Switch
versions.
The element ID for a particular flow element offers the following
fundamental guarantees:
It differs from the element ID for any other flow element in any
currently active flow.
It remains unchanged as long as the flow in which it resides is
not edited, even if the flow is deactivated and reactivated and
across Switch sessions.
The element ID for a connection is never equal to the element ID
for a non-connection flow element.
Note that holding or releasing connections or renaming the flow does
not count as editing in this context. However exporting and
re-importing (or upgrading) a flow, or renaming a flow element
inside the flow, does count as editing.
Returns the type of the connection as one of the following strings:
“Move”, “Filter”, “Traffic-data”, Traffic-log”, “Traffic-datawithlog”.
getConnectionType( ) :
String
Returns true if this is a traffic-light connection and the Success
property is set to yes; otherwise returns false.
allowsSuccess ( ) :
Boolean
Returns true if this is a traffic-light connection and the Warning
property is set to yes; otherwise returns false.
allowsWarning ( ) :
Boolean
Returns true if this is a traffic-light connection and the Error property
is set to yes; otherwise returns false.
allowsError ( ) : Boolean
Returns true if the connection is currently on hold, false if it is not.
isOnHold( ) : Boolean
Returns the name of the folder at the other end of this connection
(the originating folder for an incoming connection, the target folder
getFolderName( ) : String
462
Enfocus Switch 10