Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Table of Contents
...
English |
---|
Advanced Form Row Data Binder is an extended version of the default Form Data Binder. It allows you to add in Filter Conditions in a guided and friendly manner. |
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
This feature has been enhanced in Joget Workflow v6 to support join, group and aggregate function. |
...
Figure 1: Configure Advanced Form Data Binder
Name | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
Form | Source form to retrieve data from. | ||||||||
Joins Form Data Table |
|
Info | |||||||
---|---|---|---|---|---|---|---|
| |||||||
In the screenshot example in Figure 1, such configurations can be presented with the following SQL.
|
Figure 2: Advanced Form Data Binder Properties - Advanced - Filter
> Filter
Name | Description | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Filter Conditions | Filter Conditions
| |||||||||||||||||||||||||||
Extra Conditions | Additional condition(s) for filtering the data set. HQL is the expected here.
Hash A hash variable is accepted here.
Userview Key can be used as part of the condition.
|
...
...
title | New Feature |
---|
...
Figure 3: Advanced > Aggregrate Query
Figure 4: The configurations shown in Figure 3 will produce the following sample result.
Name | Description |
---|---|
Group By | Add grouping clause/function to the eventual data set. This can be used together with Aggregate Fields above. In figure 3, the "amount" field will be summed up by "claimant", shown in per record row. |
Aggregate Fields | This field will be displayed once any number of columns has been added into the Group By field. The select Select field is to aggregatedaggregate.
In the sample screenshot above, the "amount" field will be put into the "Sum" function, and "Count" will be applied to "title". |
Group By | Add grouping clause/function to the eventual data set. This can be used together with Aggregate Fields above. In the sample screenshot above, the "amount" field will be summed up by "claimant", shown in per record row. |
Having Conditions | This field will be displayed once any number of columns has been added into the Group By field. Having ConditionsThe HAVING clause enables you to specify conditions that filter which group results appear in the final results. The WHERE clause places conditions on the selected columns, whereas the HAVING clause places conditions on groups created by the GROUP BY clause. Read more at http://www.dofactory.com/sql/having |
The configurations shown in Figure 3 will produce the following sample result.
Figure 4: Sample result
Figure 5: Advanced Form Data Binder Properties - Advanced - > Expression Columns
...
...
title | New Feature |
---|
...
This is a new feature in Joget Workflow v6.
Name | Description | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Expression Columns | Additional An additional column can be added in this expression columns using Hibernate Query Language (HQL). This is especially useful when you need to perform additional computation on multiple columns. Example 1 - Cast column to data type "long".
Example 2 - Concatenate multiple columns into one.
| ||||||||||||||||||||||
Custom Checkbox/Radio Button Value | Define custom record ID to be used to pass over to column action. Defaulted to ID. |