> For the complete documentation index, see [llms.txt](https://docs.pentaho.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pentaho.com/pdia-data-integration/9.3-data-integration/pdi-transformation-steps-reference-overview/modified-java-script-value/java-script-functions-pane.md).

# Java script functions pane

The **Java script functions** pane contains a tree view of scripts, constants, functions, input fields, and output fields as follows:

* **Transform Scripts**

  Scripts you have created in this step.
* **Transform Constants**

  Pre-defined, static constants that control what happens to the data rows. You must assign a constant value to the**trans\_Status** variable. To use these constants, you must first set the **trans\_Status** variable to `CONTINUE_TRANSFORMATION` at the beginning of the script, so that the variable assignment is made to the first row being processed. Otherwise, any subsequent assignments to the **trans\_Status** variable are ignored. Double-click a constant to add it to the Java script pane.

The constants are:

* **CONTINUE\_TRANSFORMATION**

  Includes the current row in the output row set.
* **SKIP\_TRANSFORMATION**

  Excludes the current row from the output row set and continues processing on the next row.
* **ERROR\_TRANSFORMATION**

  Excludes the current row from the output row set, generates an error, and any remaining rows are not processed.
* **ABORT\_TRANSFORMATION**

  Excludes the current row from the output row set, and any remaining rows are not processed, but does not generate an error. (This constant does not display in the PDI clientPDI client, but can be used in your script)
* **Transform Functions**: String, numeric, date, logic, special, and file functions you can use in scripts. These included functions are implemented in Java and execute faster than JavaScript functions. Each function has a sample script demonstrating its use. Double-click the function to add it to the Java script pane. Right-click and choose Sample to add the sample to the Java script pane.

**Note:** Not all JavaScript functions are listed here. You can use functions not included in this list.

* **Input Fields**

  Input fields for the step.
* **Output Fields**

  Output fields for the step.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.pentaho.com/pdia-data-integration/9.3-data-integration/pdi-transformation-steps-reference-overview/modified-java-script-value/java-script-functions-pane.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
