GraalVM

GraalVM

Certified

Tasks that run JS, Python, or Ruby code via the GraalVM engine.

Provide inline scripts or file paths with language selection, optional bindings/variables, and output handling to execute GraalVM code inside workflows while capturing logs and results.

How to use the GraalVM plugin

Execute inline JavaScript, Python, or Ruby scripts directly within Kestra flows using GraalVM's polyglot runtime — no Docker container or external runtime needed.

Tasks

JavaScript

js.Eval executes a JavaScript script — set script (required). Optionally declare outputs (a list of variable names to capture from the script's scope and expose as task outputs).

js.FileTransform applies a JavaScript transformation to each row of an ION file — set script (required) and from (required, a kestra:// URI). Optionally set concurrent (minimum 2) to process rows in parallel.

Python

python.Eval executes a Python script — set script (required). Optionally declare outputs and modules (a map of module names to install or configure before execution).

python.FileTransform applies a Python transformation to each row of an ION file — set script (required) and from (required, a kestra:// URI). Optionally set concurrent (minimum 2).

Ruby

ruby.Eval executes a Ruby script — set script (required). Optionally declare outputs.

ruby.FileTransform applies a Ruby transformation to each row of an ION file — set script (required) and from (required, a kestra:// URI). Optionally set concurrent (minimum 2).