In DragOnce platform, we provide a record filter feature for users to keep the wanted record(s).
Filtering or other functions which need condition will only be performed when the condition result is TRUE.
1
Operator between Condition(s)
Provide “and” & “or” operators to control the condition(s) should be matched all or partial.
2
Additional Group of Condition(s)
Provide a set of condition(s)
3
Condition
Rule to filter record(s)
4
Filtering Operand on the LEFT hand side
It’s the value from Data Source
5
Operator in Condition
Provide various operators to match different operand type
6
Filtering Operand on the RIGHT hand side
It’s the value from Page
7
Fill Value Required
To work out the condition(s) when value is filled.
Fill Value Required
Allow Empty Value
Information !
Filtering will only be performed when the condition result is TRUE.
TRUE and TRUE
TRUE
TRUE and FALSE
FALSE
FALSE and TRUE
FALSE
FALSE and FALSE
FALSE
TRUE or TRUE
TRUE
TRUE or FALSE
TRUE
FALSE or TRUE
TRUE
FALSE or FALSE
FALSE
In Case 1, there are two conditions: (Widget A >= Filter Value) and (Widget B >= Filter Value). While these conditions are using the operator “and” , the table will filter out records that fulfil BOTH conditions.
*Filter Value = 2
For the first condition, (Widget A >= Filter Value), record 3, 5, 6 and 8 fulfilled the first condition. Therefore all of these 4 records will be filtered out and go to the second condition.
For the second condition, (Widget B >= Filter Value), all records 3, 5, 6 and 8 fulfill the second condition.
Records 3, 5, 6 and 8 are the records that fulfill both conditions and they will be filtered out.
In Case 2, there are two conditions: (Widget A >= Filter Value) or (Widget B >= Filter Value). While these conditions are using the operator “or”, the table will filter out a record that fulfills EITHER one condition.
For the first condition, (Widget A >= Filter Value), record 3, 5, 6 and 8 fulfilled the first condition.
For the second, (Widget B >= Filter Value), record 3, 4, 5, 6 and 8 fulfilled the second condition.
Since record 3, 4, 5, 6 and 8 fulfilled either one condition, therefore all of these 5 records will be filtered out.
In Case 3, there are 3 conditions: (Widget A >= Filter Value) and (Widget B >= Filter Value) and (Widget C >= Filter Value and Widget D >= Filter Value). Records that fulfill all three conditions can be filtered out.
For the first condition, (Widget A >= Filter Value), only records 3, 5, 6 and 8 are fulfilled. Therefore only these records will be filtered out and go to the second condition.
For the second condition, (Widget B >= Filter Value), all records 3, 5, 6 and 8 are fulfilled. Therefore all of these 4 records will be filtered out and go to the third condition.
For the third condition, (Widget C >= Filter Value and Widget D >= Filter Value), there are 2 parts connected with the operator “and” which means a record fulfilling both parts can be filtered out.
In the first part, (Widget C>= Filter Value), records 3, 5 and 6 are fulfilled.
In the second part, (Widget D>= Filter Value), records 3, 5, and 6 are fulfilled.
Since only record 3, 5 and 6 fulfilled both parts of the condition, therefore only these three records will be filtered out.
In Case 4, there are 3 conditions: (Widget A >= Filter Value) and (Widget B >= Filter Value) and (Widget C >= Filter Value or Widget D >= Filter Value). Records that fulfill all three conditions can be filtered out.
For the first condition, (Widget A >= Filter Value), only records 3, 5, 6 and 8 are fulfilled. Therefore only these records will be filtered out and go to the second condition.
For the second condition, (Widget B >= Filter Value), all records 3, 5, 6 and 8 are fulfilled. Therefore all of these 4 records will be filtered out and go to the third condition.
For the third condition, (Widget C >= Filter Value or Widget D >= Filter Value), there are 2 parts connected with the operator “or” which means a record that fulfills either one part can be filtered out.
In the first part, (Widget C >= Filter Value), records 3, 5, and 6 are fulfilled.
In the second part, (Widget D >= Filter Value), all records 3, 5, 6 and 8 were fulfilled.
Since all records 3, 5, 6 and 8 fulfill either one part of the condition, therefore all of these 4 records will be filtered out.
In Case 5, there are 3 conditions: (Widget A >= Filter Value) or (Widget B >= Filter Value) or (Widget C >= Filter Value and Widget D >= Filter Value). Records that fulfill either one condition can be filtered out.
For the first condition, (Widget A >= Filter Value), records 3, 5, 6 and 8 are fulfilled.
For the second condition, (Widget B >= Filter Value), record 3, 4, 5, 6 and 8 fulfilled.
For the third condition, (Widget C >= Filter Value and Widget D >= Filter Value), there are 2 parts connected with the operator “and” which means a record that fulfills both parts can be filtered out.
In the first part, (Widget C >= Filter Value), records 3, 4, 5, 6 and 7 are fulfilled.
In the second part, (Widget D >= Filter Value), records 2, 3, 4, 5, 6, 7 and 8 are fulfilled.
Therefore, in the third condition, only records 3, 4, 5, 6 and 7 are filtered out.
To sum up, records 3, 4, 5, 6, 7 and 8 fulfilled either one condition and these records will be filtered out.
In Case 6, there are 3 conditions: (Widget A >= Filter Value) or (Widget B >= Filter Value) or (Widget C >= Filter Value or Widget D >= Filter Value). Records that fulfill either one condition can be filtered out.
For the first condition, (Widget A >= Filter Value), records 3, 5, 6 and 8 are fulfilled.
For the second condition, (Widget B >= Filter Value), record 3, 4, 5, 6 and 8 fulfilled.
For the third condition, (Widget C >= Filter Value or Widget D >= Filter Value), there are 2 parts connected with the operator “or” which means a record that fulfills either part can be filtered out.
In the first part, (Widget C >= Filter Value), records 3, 4, 5, 6 and 7 are fulfilled.
In the second part, (Widget D >= Filter Value), records 2, 3, 4, 5, 6, 7 and 8 are fulfilled.
Therefore, in the third condition, record 2, 3, 4, 5, 6, 7 and 8 have fulfilled either one part.
To sum up, records 2, 3, 4, 5, 6, 7 and 8 fulfill either one condition and these records will be filtered out.
In Case 7, there are 4 conditions: (Widget A >= Filter Value) and (Widget B >= Filter Value) and (Widget C >= Filter Value and Widget D >= Filter Value) and (Widget E >= Filter Value and Widget F >= Filter Value). Records that fulfill all four conditions can be filtered out.
For the first condition, (Widget A >= Filter Value), record 3, 5, 6 and 8 fulfilled the condition. Therefore these four records will be filtered out and go to the second condition.
For the second condition, (Widget B >= Filter Value), all records 3, 5, 6 and 8 fulfilled the condition. These four records will be filtered out and go to the third condition.
For the third condition, (Widget C >= Filter Value and Widget D >= Filter Value), record 3, 5 and 6 fulfilled both parts. Therefore these three records will be filtered out and go to the fourth condition.
For the fourth condition, (Widget E >= Filter Value and Widget F >= Filter Value), there are two parts connected with the operator “and” which means a record that fulfills all parts can be filtered out.
In the first part, (Widget E >= Filter Value), records 3 and 5 are fulfilled.
In the second part, (Widget F >= Filter Value), records 3 and 6 are fulfilled.
Therefore, in the fourth condition, only record 3 fulfilled both parts.
To sum up, record 3 fulfilled all four conditions and it will be filtered out.
In Case 8, there are 4 conditions: (Widget A >= Filter Value) and (Widget B >= Filter Value) and (Widget C >= Filter Value and Widget D >= Filter Value) and (Widget E >= Filter Value or Widget F >= Filter Value). Records that fulfill all four conditions can be filtered out.
For the first condition, (Widget A >= Filter Value), record 3, 5, 6 and 8 fulfilled the condition. Therefore these four records will be filtered out and go to the second condition.
For the second condition, (Widget B >= Filter Value), all records 3, 5, 6 and 8 fulfilled the condition. These four records will be filtered out and go to the third condition.
For the third condition, (Widget C >= Filter Value and Widget D >= Filter Value), record 3, 5 and 6 fulfilled both parts. Therefore these three records will be filtered out and go to the fourth condition.
For the fourth condition, (Widget E >= Filter Value or Widget F >= Filter Value), there are two parts connected with the operator “or” which means a record that fulfills either part can be filtered out.
In the first part, (Widget E >= Filter Value), records 3 and 5 are fulfilled.
In the second part, (Widget F >= Filter Value), records 3 and 6 are fulfilled.
Therefore, in the fourth condition, record 3, 5 and 6 fulfilled either one part.
To sum up, record 3, 5 and 6 fulfilled all four conditions and it will be filtered out.
In Case 9, there are 4 conditions: (Widget A >= Filter Value) and (Widget B >= Filter Value) and (Widget C >= Filter Value and Widget D >= Filter Value) and (Widget E >= Filter Value or Widget F >= Filter Value). Records that fulfill all four conditions can be filtered out.
For the first condition, (Widget A >= Filter Value), record 3, 5, 6 and 8 fulfilled the condition. Therefore these four records will be filtered out and go to the second condition.
For the second condition, (Widget B >= Filter Value), all records 3, 5, 6 and 8 fulfilled the condition. These four records will be filtered out and go to the third condition.
For the third condition, (Widget C >= Filter Value or Widget D >= Filter Value), record 3, 5, 6 and 8 fulfill either part of the condition. These four records will be filtered out and go to the fourth condition.
For the fourth condition, (Widget E >= Filter Value and Widget F >= Filter Value), there are two parts connected with the operator “or” which means a record that fulfills both parts can be filtered out.
In the first part, (Widget E >= Filter Value), records 3 and 5 are fulfilled.
In the second part, (Widget F >= Filter Value), records 3 and 6 are fulfilled.
Therefore, in the fourth condition, only record 3 fulfilled all parts.
To sum up, record 3 fulfilled all four conditions and it will be filtered out.
In Case 10, there are 4 conditions: (Widget A >= Filter Value) and (Widget B >= Filter Value) and (Widget C >= Filter Value or Widget D >= Filter Value) and (Widget E >= Filter Value or Widget F >= Filter Value). Records that fulfilled all four conditions can be filtered out.
For the first condition, (Widget A >= Filter Value), record 3, 5, 6 and 8 fulfilled the condition. Therefore these four records will be filtered out and go to the second condition.
For the second condition, (Widget B >= Filter Value), all records 3, 5, 6 and 8 fulfilled the condition. These four records will be filtered out and go to the third condition.
For the third condition, (Widget C >= Filter Value or Widget D >= Filter Value), record 3, 5, 6 and 8 fulfill either part of the condition. These four records will be filtered out and go to the fourth condition.
For the fourth condition, (Widget E >= Filter Value and Widget F >= Filter Value), there are two parts connected with the operator “or” which means a record that fulfills both parts can be filtered out.
In the first part, (Widget E >= Filter Value), records 3 and 5 are fulfilled.
In the second part, (Widget F >= Filter Value), records 3 and 6 are fulfilled.
Therefore, record 3, 5 and 6 fulfilled either one part of the condition.
To sum up, record 3, 5 and 6 fulfilled all four conditions and these records will be filtered out.
Filtering exists in Data Retrieval, Triggering Methods & Condition Checking. For example, Table Data Source Setting, Page Data Source Setting, Cascading Workflow Triggering, Calculation, Visibility, etc. And, the setting in different locations is similar.
Click Add Condition to add a single filtering rule.
2. Hover the Left-Hand-Side Variable, and select the Filtering Operand from Data Source.
3. Select the Operator.
4. Hover the Right-Hand-Side Variable, and select the Filtering Operand from Page.
Information !
Add Group provide a set of conditions on Filtering, and mostly work with “Or” as Operator between Condition(s)
Enabling the function on “Records for current stakeholder only” will provide an additional filtering rule on Current Stakeholder & Additional Current Stakeholder (including delegation) against current user.
During Design Time, App designers can set up conditions in several kinds of settings. Some conditions are used for filtering purposes. Some conditions are used to override default settings.
Choose an operator from the list to set the condition rule.
Click to delete the condition.
When you mouse over the left-hand-side (LHS) or right-hand-side (RHS) field, parameter buttons will pop up. Click to open the list of parameters you can choose.
Variable
Predefined variable
Controller
The value of a widget in the current page
Text
Any text, number or symbol hardcoded by App designer
Date
A datetime value chosen from calendar
Options
User-defined variable
Options
User or group
The LHS parameter must be filled before the RHS parameter can be filled. What is chosen on the LHS will affect the number of options you can select in the condition operator and the RHS parameter.
When a controller parameter (Know More: Controller Parameter) is chosen on the RHS,
an exclamation mark icon (
/
) will appear next to it.
means that filters take effect even when the widget value in the controller parameter is empty.
means that filters take effect only when the widget as the controller parameter is filled. Otherwise, all records will be shown when the widget value in the controller parameter is empty.
Definitions of predefined variables in the system:
The current date and time during Run Time, in the format of datetime data type
The current time when end user is viewing the page
The current end user viewing the current page, except when simulation account or super administrator’s on-behalf-of mode is used
A unique ID generated by the system for each record of the form
The user who created the form record
The current workflow state of a form record
The creation time of the form record
The time of the form record when it was last edited by any user
The user who last edited the form record
Possible widgets available from the widget parameter list:
Input Box
AutoComplete
Selection Box
Dropdown Menu
Date & Time
User & Group
File Uploader
Image Uploader
Label
Attachment
After you click the ‘Text’ button, you can type text, number or symbol in the input box and click apply.
After you click the ‘Date’ button, a calendar will pop up. You can click ‘AM’ once to change it to ‘PM’. By clicking the ‘Clock’ button on the left of the ‘Confirm’ button, the calendar shows you the current date and time. After finishing, click ‘Confirm’.
Options parameters are user-defined variables. Their values are previously inputted by a user or App designer.
For example, if a dropdown menu is chosen as the LHS parameter, all options in the dropdown menu widget will be available for selection as options parameters. Similarly, if workflow state is chosen as the LHS parameter, all workflow states in the workflow of the form will be available for selection as options parameters.
After you click the ‘User Picker’ button, you can choose a user or group from the user and group list. After finishing, click ‘Apply’.
The following table shows all condition operators.
equal
Larger than or equal
Larger than
Less than or equal
Less than
unequal
All equal
Not all equal
Subset or equal
Not subset or equal
contains
Start with
End with
Has been
depends
Is User
Is not User
Is Group
Is not Group