Skip to main content
Version: Any 26

Package validation

This module defines what a package must hold to be admissible, and what it must meet to be declared valid.

A package is a content that gathers others: a tender folder, a loan folder. This module defines its expected composition: which types of parts, in what quantity, under which conditions. It covers two distinct roles, carried by two tables: the constitution, which filters what can be added, and the validation, which judges the package once constituted.

Constitution rules​

These rules define the expected components. A content can only be added to the package if it matches at least one rule.

GQL Predicate: enter a GQL predicate matching the required condition
Minimum: select a minimum number of contents that must match this condition
Maximum: select a maximum number of contents that must match this condition
Format required: the component must have a format to satisfy the rule
Message: message to display if the condition does not match

The rules that require a component to have a format do not prevent adding the component to the package.

Validation rules​

These rules cover the whole set of components once the package is constituted.

GQL Predicate: enter a GQL predicate matching the required condition
Message: message to display if the condition does not match

For the package to be valid, each component must meet every rule defined in the table.

Allow adding outside the rules​

To allow adding components that match none of the rules of the table, tick the "Allow adding contents that do not match the rules." box.

Flows​

This module can be used in the following flow: