Diagram search (query)

The diagram search allows you to search for model objects and drawing objects within a diagram. You can use the diagram search for all diagram types in Aeneis. With the diagram search, all elements of a diagram including subdiagrams can be searched and reported.

Example:  

You can add the diagram search to the Table component to output predecessor and successor tasks in a BPMN diagram in a sorted display.

Via the diagram search you can also output all contained objects of a freehand diagram sorted in a list. Here, the objects are sorted as they are placed in the diagram from left to right and from top to bottom.

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.

Recursive (deep search)

This property is used to search all levels of the diagram. All embedded drawings and instructed processes are searched.

Recursion mode

This setting influences the sorting of the results of the diagram search.

  • Tree structure: The evaluated model objects are sorted analogously to the structure in the model overview.

  • Level by level: First, the model objects of the first level of the diagram are evaluated. The following levels are then evaluated in descending order.

Recursion mode has an effect only if the Recursive (deep search) property is enabled.

Main assignment

This property is used to search only for objects that are assigned to the main diagram.

Consider parent categories

With this property an object is also returned if its category has the searched category as parent. The searched category can be configured both in the Target Categories property and in the Searched Categories property.

Target categories

Reference here the categories of the objects you are looking for. If no category is referenced in this property, all categories are searched for.

Searched categories

Reference the categories of diagram types to be searched here to restrict the diagram search to these diagram types only.

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.