Analytics Builder 10.9.0 | Using Analytics Builder for Cumulocity IoT | Block Reference | Utility | Constant Value
 
Constant Value
apama.analyticsbuilder.blocks.ConstantValue
Outputs a value, either when the Trigger input port receives a signal or at startup.
The Trigger input port can be used to delay the output until a trigger input is received. If the Trigger input port is not connected, then the block outputs a value when the model is activated, which may trigger further processing.
The Value parameter can be treated as either a string, or as a JSON value. For JSON string, number or boolean, then that will be the type of the output. For JSON objects, the output will be a pulse with the properties from the object. JSON arrays are only permitted within an object.
Parameters
Name
Description
Type
Notes
Value
The value to output.
string
Type
How to interpret the Value parameter.
Option - one of:
*string
*JSON
Default: JSON
Input Port Details
Name
Description
Type
Trigger
If connected, send output on this trigger.
boolean
Output Port Details
Name
Description
Type
Output
The output value from the Value parameter.
any