Onload Disable
The Onload Disable task disables a specific component or element on the page as soon as the application loads the page. This ensures that the element is displayed as inactive and cannot be interacted with until certain conditions are met or another task re-enables it.
Common Uses
- Restricting Access Based on Roles:
- Disable buttons, fields, or features for users with restricted roles, such as non-administrative users in banking apps.
- Example: The Create User button remains disabled for a teller role in the bank’s user management system.
- Preventing Premature Actions:
- Ensures that users cannot interact with specific fields or buttons until prerequisites are completed.
- Example: In a loan application process, the Submit button is disabled until all mandatory fields are filled.
This task is particularly useful for improving user experience by guiding users through the intended workflow and enforcing business rules directly in the UI.
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 Properties | Description |
Task Type | The 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 Name | The 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. |
Name | The name defined here will be displayed to the end user. |
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. |
Loader Properties – Title | |
Loader Properties – Description | |
Business Rule – Rule | This 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. |
Was this article helpful?
YesNo