Skip to main content

Conditions

Conditions allow you to control whether a report is generated during task execution. When a condition is assigned to a report in a task, Qalyptus evaluates it at runtime and only generates the report if all defined rules are satisfied. If the condition is not met, the report generation is skipped.

Iteration Reports

For reports that use iteration, you can choose whether the condition is evaluated once before the report generation begins, or individually for each iteration value.

How Conditions Work

A condition is composed of one or more rules. All rules must be satisfied for the condition to pass; they are combined with an AND operator. If any rule fails, the report is not generated.

Each rule connects to a data source via a project connection and evaluates a comparison, such as a variable against a threshold or a KPI against a Qlik expression result.

Creating a Condition

Step 1: Create the condition

  1. Navigate to Conditions
  2. Click Create condition
  3. Enter a Name
  4. Optionally enter a Description
  5. Select a Project to associate the condition with
  6. Click Save

Step 2: Add rules

After saving, go to the Rules tab and define the evaluation logic:

  1. Click Add rule
  2. Enter a Name for the rule
  3. Select a Connection to use as the data source
  4. Define the comparison for the rule (see supported types below)
  5. Click Save

Repeat to add additional rules. All rules must pass for the condition to be satisfied.

Rule Types

Each rule evaluates a comparison between two values. The following comparison types are supported:

Rule typeDescription
Variable vs. custom valueCompare a Qlik variable to a fixed value you define
Variable vs. Qlik expressionCompare a Qlik variable to the result of a Qlik expression (must start with =)
Variable vs. variableCompare two Qlik variables against each other
Chart data checkCheck whether a specific chart contains data or is empty
KPI vs. custom valueCompare a Qlik KPI to a fixed value you define
KPI vs. Qlik expressionCompare a Qlik KPI to the result of a Qlik expression (must start with =)
KPI vs. variableCompare a Qlik KPI to a Qlik variable

Qalyptus Condition Rules

Assigning a Condition to a Report

Once created, a condition can be assigned to a report inside a task. See Tasks for details on how to configure report-level conditions within a task.