The documentation about script actions states, that a variable ScriptError is produced:
However, when trying to display that Variable using a Display message flow action or Set variable flow action, I get the error
Variable 'ScriptError' does not exist.
I also tried the flow action On block error to handle errors thrown by a JavaScript/JScript action. The script runs silently without showing any error.
=> How to show/handle errors for script actions in Power Automate Desktop?
Related:
How to return result from JavaScript action in Power Automate Desktop?
