Filter

The Filter Task is used to display a subset of values in a control (like a select, multi-select, table, list, et-cetera) based on specific criteria. When executed, it retrieves the relevant data from the data source and dynamically filters the displayed values according to the defined conditions.

Common Uses:

  1. Account Selection:
    • In a banking app, when a user selects a customer type (e.g., individual or corporate), this task can filter and display only the accounts relevant to the selected type.
  2. Transaction History:
    • Users can apply filters to view transactions within a specific date range, such as “last 7 days” or “this month,” ensuring that only the relevant data is shown.

This task enhances usability by allowing users to view specific data without navigating through large datasets.

Configuration

When you create a task, its configuration page opens in which you define its basic and advanced properties. These are as follows:

Basic

Basic PropertiesDescription
Task TypeThe Task Type indicates what kind of task you are creating. This is a read-only field since you select the type when you create the task and cannot change it during the configuration stage.
Reference NameThe Reference Name acts as a unique internal identifier for the task. This is visible to vFlow users for ease of reference but is hidden from end users. This allows users of the platform to manage and differentiate between tasks conveniently.
NameThe name defined here will be displayed to the end user.
DescriptionThe Description field is intended for use by application designers or administrators (vFlow users) to provide additional context or details about the task group. This description is not visible to end-users and is used solely for internal reference to assist with task management.
Loader Properties – Title
Loader Properties – Description
Business Rule – RuleThis drop-down allows you to specify a Business Rule that governs when and how this task executes, offering more fine-grained control over task execution. If the specified condition is met, the task will execute; otherwise, it will not.

Properties

Control Filter

  • Page Name: In this field, select the page’s name that contains the component where you want to configure the filter task.
  • Component Name: In this field, select the name of the component having the targeted element
  • Sub-component Name: In this field, select the Sub-component Name.
  • Element Name: Select the elements you want to apply the filter to.
  • Data Path: In this field, enter the JSON path (For example:- AOF_SP.VALUE).

Note: You can add more control paths by clicking on ‘+ Add Control Path‘< > to apply the same task to the other elements on other components or pages.

Then Save the task.

Was this article helpful?
YesNo