Font Size:
Ask Joget AI

Bean Shell Programming Guide

The Bean Shell Programming Guide introduces how to use Bean Shell scripting in Joget to add custom logic and extend application functionality. This guide covers key concepts, examples, and best practices to help you write and implement scripts effectively.

What is it for?

  • Joget Workflow provided Bean Shell implementation for several plugin types. Please refer to the Usages section.
  • BeanShell is a small, lightweight, embeddable Java source interpreter with object scripting language features written in Java.
  • BeanShell dynamically executes standard Java syntax in runtime.
  • By using the BeanShell Plugin, you can type in valid Java code in plugin configuration, and the statements will be executed when the plugin is triggered.
  • No compilation cycle is needed.

What is the code syntax?

  • Java syntax supported by the version of JDK used.
  • Usage of all libraries that Joget used. For details, please refer to NOTICE.txt in the release installer/bundle.
  • Usage of all Joget Workflow Utility and Service Methods.
  • Usage of Hash Variable.

 

 

Created by Damian Last modified by Debanraj Ravindran on Jul 13, 2026