Conditional queries

The Conditional Query component allows you to configure queries that are conditioned. If the condition applies, the query is executed.

As conditions in a conditional query components of the category Case are configured.

A case consists of:

  • one or more conditions, all or part of which must be met.

  • a query that is executed when the conditions are met.

Configuration:

Property

Description

Queries

The Queries property displays the query components that have been configured for the query. The result of the queries is used as input for the execution of this query.
If no queries are created, the result is obtained directly from the current context.

You also have the option here to configure new queries via the text box or the buttons to the right of the text box.

Cases

This shows which cases are configured in the Conditional Query. You also have the option here to configure new cases via the text box or the buttons to the right of the text box.

If one or more cases apply, the query configured in the case is executed.

Note only first applicable case

With this property, only the query of the first applicable case is executed. The following cases and their queries are ignored.

Variables

You can activate the enabled attributes of a query and condition in the Variables property so that they can be changed by users at the time of execution.

See also: Chapter Variables.

Note: Default case: To define a case that is always executed or is executed when no other applies, a case is created without conditions and the option Note only first applicable case is activated.