Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction

...

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.

...



Bean Shell Action Properties

Configure

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

 

Image Removed

...

Bean Shell Datalist Action

...

NameDescriptionScreens (Click to view)
LabelLink / Button label.

Image Added

Figure 1: Bean Shell Action Properties

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);
}

...

Visibility Control

Figure 3 : Bean Shell Datalist Action Properties - Visibility Control 


NameDescriptionScreens (Click to view)
Rules
Controls on

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

FieldDescription
Join TypeCondition type to fulfill.
FieldForm field ID.

 

 

 

...

Operator

Available operator types:

  • Equal
  • Not Equal
  • Greater Than
  • Greater Than Or Equal
  • Less Than
  • Less Than Or Equal
  • Like
  • Not Like
  • In
  • Not In
  • Is True
  • Is False
  • Is Empty
  • Is Not Empty
  • Regex
  • Not Regex
ValueShow the action when form field matches the condition.

Image Added

Figure 2: Visibility Control Properties