Joget Workflow v6 Beta 3 Released

Check out the latest Joget Workflow v6 Beta for many new features and improvements in user experience (UX), app maintainability and performance.

Skip to end of metadata
Go to start of metadata
Definition

The Javascript Condition Formatter allows you to transform column data based on user-defined conditions.

New Feature

This is a new feature in Joget Workflow v6.

Figure 1: Javascript Condition Formatter Properties

NameDescription
Conditions

In short, when this rule is true, execute this formatting.

Every row in the datalist will be processed with these conditions respective to its current record id.

Use the {fieldName} prefix to retrieve column value, eg: {userTelNumber}.

It is also possible to inject hash variables here.

Usage example:

Example result:

 

When there is a conflict/multiple match between conditions, the first matched condition will take precedence.

Result:

 

 

 

  • No labels