Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
borderColorgreen
borderWidth1
titleBGColor#ddffcc
borderStylesolid
titleDefinition
Bean Shell Action allows you to write custom Java code to perform custom actions on the datalist.
Panel
borderColorpurple
borderWidth1
titleBGColor#ddccff
borderStylesolid
titleNew Feature

This is a new feature in Joget Workflow v6.


Image Added

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

 

Image Added

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
Code Block
titleSample Code
linenumberstrue
for (String key : rowKeys) {
System.out.println("Record key is " + key);
}

 

Image Added

Figure 3 : Bean Shell Datalist Action Properties - Visibility Control

 

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