Introduction To Task Groups

Tasks or Task Groups represent pre-defined actions or a single action triggered by specific events such as onLoad, onClick, onSelect, or onBlur. A wide range of pre-configured tasks is available, including Authentication, Navigation, API interactions, enabling and disabling elements, visibility controls (visible or invisible), child invisibility management, data copying (including Group Copy and Copy to Clipboard), entity invocation, object manipulation (e.g., Add New Object or Delete Object), applying custom styles, executing business rules, popup controls, filtering, custom loading behaviors, downloads (ZIP and Excel formats), SSO token generation, printing, web view configuration, multilingual functions, logout capabilities, and capturing the user’s current location.

Multiple tasks can be grouped into a task group, enabling complex workflows by combining them and linking them to events. A task group acts as a virtual container for configured tasks, supporting both single and sequential task execution. This separation of tasks into task groups allows for a modular and independent functionality approach, providing flexibility in how tasks are executed during an event’s triggering.

This modular approach ensures a clear distinction between implementation and design within the application’s workflow, making it easier to configure and manage tasks effectively.

Creating and Implementing a task or task group

There are two methods to create a task or task group and implement it in the event:

1st Method: Through Configurator

Tasks can be assigned to all entities necessary for completing the application, including pages, components, and elements. As application development progresses, tasks can be applied at each level—page, component, or element—based on the desired context and functionality.

Let’s apply it on the page through the configurator.

  1. Once you are on the vFlow 2.0 dashboard, click the application to open vFlow or click .
  2. Open the Configurator from the expandable menu located on the left.
  1. Click +Create () located on the top to make a new page or open a pre-existing page by clicking on the pencil icon ().
  1. As Page Config opens, Click Events from the config menu located on the left of the screen.
  1. On the Events page, select the task group from the dropdown or create a new one.

Similarly, task groups can be implemented in the components and elements through the ‘Events’ option of their configurator menu

2nd Method: Through Inventory

  1. Once you are on the vFlow 2.0 dashboard, click the application to open vFlow or click .
  2. Open the Configurator from the expandable menu located on the left.
  1. Open the Task Groups section form the Inventory menu located on the left.
  1. Click +Create located on the top to create a new task group.
  1. When a task group is created, a task group page opens in which you define its Reference Name, Loader Title, and Description.
    • Reference Name: The Reference Name is a unique identifier assigned to the task group for internal use. This name is visible only to vFlow users and is not displayed to end users. The Reference Name is intended for your convenience, helping you easily identify and manage the task group throughout.
    • Title:
    • Description: The 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.
  1. After defining the basic properties, click Tasks.
  1. Then Click + Create on the top to add a task.

Note: After creating a task group, ensure it is mapped to the Events section of the relevant page, component, or element.

Now let’s understand each task, its usage, and its configuration.

Was this article helpful?
YesNo