Skip to main content

Add Conditions to a Task

Conditions let you control whether a report is generated during a task run. If the assigned conditions are not met, Qalyptus skips generation for that report.

note

Conditions must be created before they can be assigned to a task report. See Conditions for details.

Add a Condition to a Report

  1. Go to Tasks and open the desired task.
  2. Go to the Reports tab.
  3. Edit the target report.
  4. Navigate to the Conditions tab.
  5. Select and add one or more conditions.
  6. Click Save.
info

If the conditions are not satisfied when the task runs, report generation is skipped. If no report is generated at all, the task completes with a Warning status.

Qalyptus Server - add task condition

Conditions for Iteration Reports

For iteration reports that produce multiple files, you can choose when Qalyptus evaluates the condition:

  • Once before generation starts (default): The condition is evaluated once. If it fails, the entire iteration is skipped.
  • Before each iteration: The condition is evaluated individually for each iteration. Files whose condition fails are skipped; others are still generated.

To enable per-iteration evaluation, in the report's Iteration tab, enable If a condition is applied, evaluate it for each iteration.

Qalyptus Server - add task condition for Iteration report