Query Component

This topic provides you with information about the query component operation.

This page discusses:

See Also
Defining Functions and Methods
Using the Knowledge Certify Operation
Parameterizing a Query Component

Accessing this Operation

This operation can be accessed by clicking Query Component .

Describing this Operation

This operation is designed to look for a component. It can query types available in the Advanced Search.

More Information

Note: You must be coherent when checking Allow user interaction and Multiple results. For example, if you uncheck Display results window and check Multiple results, an error message appears. For more information, see the table below:


Notes:
  • If the type used when defining the operation is not executed in the execution environment, the execution fails.
  • If you work with reference, representation-references, rule sets, and engineering templates types, a chooser is opened at execution. For customized types, for which you can define attributes, if no attribute is defined, the search is based on PLM_ExternalID. If you select attributes and no value is defined, the wildcard * is used by default.

Using this Operation Interface

Name Name attributed to the operation.
Comment Comment attributed to the operation.
Type List of the types available in the dictionary and in the Advanced Search. The output is a link to the queried object. You can now select Requirement from this list.
Display in results window When the operation is executed in the runtime view, a tab opens showing the result of the query. You can then select the different results.
Multiple results If checked, the results of the Query are stored in the output list of the Operation (Itemslist). Otherwise, they are stored in the pointer output.
Attributes used to define the query List of the type attributes that can be selected from the Available attributes on the chosen PLM type list using the Up and Down arrows.

To value one of the selected attributes, double-click the attribute row and enter the attribute value in the Value field of the Create or modify attribute dialog box.

When the operation is executed, a query is performed on the selected type and on its attributes.

Note: Only the String type attributes are managed. If you work with several attributes, they are combined using the "and" keyword.

Available attributes on the chosen type List of the type attributes.
Note: An Error mode option enables you to select Silent or Error. If Silent is selected, no error appears if the query returns no result.