Inputs
Inputs, also known as input arguments, are the parameters that a function uses to execute its action. The default format for input is YAML, providing a straightforward structure for defining input parameters. If necessary, this format can be switched to HTML.

The datatypes an input argument could potentially accept is aligned with those that are supported by the JSON format, i.e.:
Null
Boolean
Number
String
Array
Object
With Array
and Object
being composite datatypes, any complex and nested data structure can be represented. Rest assured, that this will always be sufficient for whatever application logic should be created.
Certain functions provide the option to include extra inputs, allowing for the incorporation of additional arguments. To add another input box, click the +
icon located behind an existing input box.
Input sources
Sources for input arguments are varied:
Fixed input: Input arguments can explicitly be filled and are hence fixed at build-time.
Dynamic input: Input arguments get filled dynamically when another's function output is for example linked with that input.
User input in user interface: Alternatively, input arguments can be dynamically filled by capturing user input by linking the widget data to the input.
Documentation
Hover over the right arrow icon of the input box to see its documentation.

Configuration
Input boxes provide a context menu accessible through right-click. In this context menu, you can:
Switch between YAML and HTML input formats.
Set the input as secret, which is useful for passwords.
Clear the content of the input box.
Delete the input box.
Callbacks
In classical programming, a callback is designed to execute code in response to an event. In Heisenware, callbacks can be employed whenever the integration protocol with an external system or the code integrated through the code adapter supports them.
A function that supports callbacks listens for certain events defined in the function. These functions feature a special, dashed input box that contains an output box. Within this box, you can observe the return value (output) of the function executed in response to an event, to which the original function is subscribed. From there, you can work with the data as with any other output.

Last updated