Execute Java Code#

Executing Java code with parameters passed from the script and back.

Configuration[Text] Configuration string. To edit the value, use the button on the "Edit" block.
Log to file

When enabled, the log generated during code execution will be recorded in the Robot's log. The java.util.logging.Logger class is used for logging.

You can use expressions to log: logger.info("Text"); logger.severe("Text"); logger.warning("Text").

Orchestrator. LogIf selected, the log will also be logged in the Orchestrator if the connection to it is active.
Handle errorIn case of an error in the Java code execution, exit via the "If error" connector.
Execution log

[Text] Returns the execution log of the script. The java.util.logging.Logger class is used for logging.

You can use expressions to log: logger.info("Text"); logger.severe("Text"); logger.warning("Text").

Error log[Text] Returns the error log of the script.
Error handling level

Select the error handling level. Possible values:

  • "Default" - by default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message level

Select the message level that the blocks will output during execution. Possible values:

  • "Default" - by default;
  • "Release" - output is disabled;
  • "Debug" - main information output;
  • "Detailed" - detailed information output.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error text[Text] Returns detailed information about the error in case of incorrect execution of the block.