Page History
...
AQ_Aggregate_Search retrieves the Aggregate Id(s) belonging to the found aggregates and stores this in an attribute, ready for use by (for example) Service call type: AQ_Aggregate_Read.
Service call definition:
Aggregate definition:
Parameters
...
Parameter | Direction | Value | Description | Required | ||
---|---|---|---|---|---|---|
Aggregate type | Input | Module element Aggregate | Select the aggregate type to search. | TrueYes | ||
Target entity | Output | Entity | Select an entity in which you want to store the aggregate ID and version. If this entity is a singleton, no instances will be created and the next two parameters will be used to contain Id and version of the found aggregates. If this entity is a multiton, an instance is created for each found aggregate and the next two parameters will contain single values.
| TrueYes | ||
Target attribute for aggregate Id | Output | Attribute of target entity | Select an attribute of the target entity on which attribute you want to store the found aggregate Id. This attribute can be singlevalued or multivalued. | TrueYes | ||
Target attribute for version Id | Output | Attribute of target entity | Select an attribute of the target entity on which attribute you want to store the found version Id. | FalseNo | ||
Only search for latest versions | Input | Checkbock, checked by default | Check when only latest versions of versioned aggregates are searched. | FalseNo | ||
Maximum results | Input | Integer | The maximum number of results, the system will stop after reaching this number. | FalseNo | ||
Search criteria | Input | Standard and custom metadata fields | Specify the search criteria, based on standard and custom metadata fields. | True |
...
Yes |
Warning |
---|
When searching for aggregates with versions, placing the found aggregate Id's in a multivalued attribute of a singleton and placing the found version Id's in another multivalued attribute of that singleton results in an information gap: it cannot be reproduced which version Id's belong to which aggregate Id's. Therefore, it is possible to let Blueriq create an instance for each found aggregate. See How to search for aggregates. |
Search criteria
The search criteria are all triples that adhere to the pattern <metadata><operator><value>. The value can be single or multi, depending on the operator. See the list below.
...