Document toolboxDocument toolbox

Tick

Description

This unit is a Source unit type.

The Tick unit is a unit that fires an event on demand. This is designed to be used mainly for development/debugging purposes. To fire the event, click on the red circle of the unit icon.

The unit receives all events. When you click the icon, the expression set in the properties is executed on these events. Output events are then sent through the out port.

Configuration

After dragging this unit into the Flow canvas, double-click it to access its configuration options. The following table describes the configuration options of this unit:

TabFieldDescription
GeneralNameEnter a name for the unit. It must start with a letter, and cannot contain spaces. Only letters, numbers, and underscores are allowed.
LanguageSpecify the language you will use to write the expression in the Value field, e.g. Javascript, Groovy, etc.
FieldsFieldsClick the plus icon to add fields 
NameEnter the name of the expected field.
TypeSelect the type of the expected output event field (you can also write java class qualified name).
As ExpressionWhether the 'value' of the field is to be considered as a literal value or as an expression to be evaluated. 
Value

Value of the field.

If 'asExpression' is off, the value is interpreted as a literal value in string form, which will be parsed into the corresponding type.

If 'asExpression' is on, the value is interpreted as an expression, which will be evaluated to produce a value of the corresponding type. In particular, if you specify a string field as an expression, you should surround it with quotes.

Input ports

This unit does not have any input ports.

Output ports

PortDescription
outOutputs an event with the configured fields each time you click the unit.