What is fallback Task group in vDesigner2.0?

What is fallback Task group in vDesigner2.0?

3 Likes

The Fallback Task Group feature in vDesigner 2.0 enhances error handling by providing an alternative execution path when a task fails. It ensures continuity in workflows and allows developers to define custom error-handling logic using system-defined or user-defined exceptions.

When to Use

Use the Fallback Task Group when you want to:

  • Prevent workflow breakdown due to runtime errors.
  • Gracefully recover from API failures, transformation errors, or invalid inputs.
  • Redirect execution to an alternative flow without manual intervention.

Common Use Cases

  • API Upload Failures: Redirect to a fallback group if the upload API fails after a media capture task.
  • Validation-Based Branching: Route logic based on user-defined validation errors like age or data constraints.
  • Network Failure: Switch to offline-compatible flows when the internet is unavailable.

The task group defines what happens when the user performs a certain action. The Fallback task group is like a normal task group that we create for the application to execute generic tasks or actions relevant to the application.

7 Likes