Joget DX Beta Available for Download

Check out Joget DX, the next generation successor to Joget Workflow for faster, simpler digital transformation.

Skip to end of metadata
Go to start of metadata
Definition
Bean Shell Action allows you to write custom Java code to perform custom actions on the datalist.
New Feature

This is a new feature in Joget Workflow v6.



Figure 1 : Hyperlink in the row action placeholder and in the bulk action placeholder in the datalist builder

 

Figure 2 : Bean Shell Datalist Action Properties

 

NameDescription
LabelLink / Button label.
Confirmation MessageConfirmation message before performing action.
Script

Script in Java.

Injected variables available for consumption are:-

  • httpRequest
  • datalist
  • rowKeys
Sample Code
for (String key : rowKeys) {
System.out.println("Record key is " + key);
}

 

Figure 3 : Bean Shell Datalist Action Properties - Visibility Control

 

NameDescription
RulesControls on when the action should appear based on the condition(s) set.

 

 

 

 

  • No labels