Output
A function's Output is its return value, typically generated after the function's action has been completed. Depending on the nature of the function, the output can take various forms, such as data (string, number, object), files, or images.
How to Use an Output
The output of a function is the primary way to pass data and control the logic in your application. It can be used to build backend flows and to interact with the user interface.
In Your Backend Logic
To Create a Flow: The most common use is to connect an output to the input of another function. This creates a data flow, where the result of one function becomes the data for the next.
To Trigger Other Functions: An output can be connected to the trigger of another function, allowing you to initiate actions based on data changes or the successful completion of a previous step.
In the User Interface
To Visualize Data: Connect an output to a Display Widget to present data to the user (e.g., in a chart or data grid).
To Control Widget Behavior: Use an output to dynamically set the properties of a widget (e.g., enabling or disabling a button).
To Navigate Pages: An output can be used to trigger a page switch, automatically navigating the user to a different screen.
Extending an Output
Through Function Extensions, you can process a function's output on the fly before it is used elsewhere in your flow. This allows you to:
Last updated