Function is often used for quick calculations, such as:
Mathematical expressions and formulas
Date and time
Units and conversions
String parsing and manipulation
Regular expressions (regex)
Drag Function and drop it inside a workflow where a green field appears. Doing so makes it a part of the workflow.
Run the workflow to see the effect applied. The total execution time of the script is limited to 1 second.
If the limit is exceeded, the following error message is shown:
Script execution timed out after 1000ms
To disable the Function block without deleting it, use the slider on the left of its name.