Add conditions to a task
To run a task only if certain conditions are met, you should assign one or more Conditions to the task.
To add a condition to a task, follow these steps:
On the Tasks page, click on the name of a task to edit it
Go to the tab Conditions
Click on Add Conditions
A window opens
Select one or more conditions
Choose if you want to apply the condition to the task or reports
- To the task: Qalyptus will evaluate the condition before starting to generate the reports. The condition is evaluated after applying the task filters
- To reports: Qalyptus will evaluate the condition only for the selected reports. The condition is evaluated after applying the report filters. If the report is an Iteration report, you can choose, in the Reports tab, between:
- Evaluating the condition before starting the generation of the report
- Evaluating the condition for each Iteration (before generating each of the report files)
Click Add
Click Save
note
The task is only executed if all the conditions assigned to the task are satisfied. After execution, Qalyptus will evaluate the conditions applied to each report, if the conditions are not satisfied, report generation is skipped.