main.py
fileresult
execution environment variable, you must use the set_output
function.
Anything that runs in the block but is not returned in the set_output
function does not get passed to the next block.
set_output
function.
The following Set state block stores the result in the final_result
state variable to display in the UI.
Name | Type | Control | Default | Description | Options | Validation |
---|---|---|---|---|---|---|
Code | Code | Textarea | - | The code to be executed. | - | - |
Name | Field | Type | Description |
---|---|---|---|
Success | - | success | The event handler execution was successful. |
Error | - | error | The event handler execution wasn’t successful. |