Execute Java Code#
Executing Java code with parameters passed from the script and back.
In the installed version 1.44, this block also respects the code restriction configured in the License form on the Licenses screen in Orchestrator. License restriction details.
| Parameter | Description |
|---|---|
| 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 You can use expressions to log: |
| Orchestrator. Log | If selected, the log will also be logged in the Orchestrator if the connection to it is active. |
| Handle error | In 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 You can use expressions to log: |
| Error log | [Text] Returns the error log of the script. |
| Error handling level | Select the error handling level. Possible values:
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:
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. |