HOPEX Customization (Windows) > Customizing the Metamodel > ERQL Query Syntax > Query Tips and Examples > Examples of Queries for HOPEX Business Process Analysis
Examples of Queries for HOPEX Business Process Analysis
The following query examples are specific to HOPEX Business Process Analysis.
Use the following selector to find all the org-units of an organizational process and its component organizational processes:
Select Org-Unit Where Diagram.[Described Organizational Process] = &"Organizational Process" Or Diagram.[Described Organizational Process]].Aggregation-Of = &"Organizational Process"
Use the following selector to find all the org-units described in diagrams of an organizational process:
Select Org-Unit Where Diagram [Described Organizational Process] =&"Organizational Process"
Use the following selector to find all the messages whose type is “external data“ in an organizational process diagram:
Select Message where Diagram = &Diagram and Message-Type = “External data“
Use the following selector to find diagrams describing an organizational process:
Select Diagram Where [Described Organizational Process] = &"Organizational Process"
Use the following selector to find the project organizational charts of the quality department:
Select Diagram where Project.(name = &Project and Employ = “Quality“) and Nature = “Organizational Chart“
Use the following selector to find the organizational processes of a project connected to a chapter of the standard:
Select Project into @Projects where Aggregation-Of deeply or name = &Project
Select [Organizational Process] where ( project in @Projects) and chapter = &Chapter
Use the following selector to find the event messages of an operation or messages connected to a synchronization of the operation.
Select Message into @E1 where Event = &Operation
Select Message into @E2 where Synchronization.Operation = &Operation
Select Message from @E1 or @E2
Use the following selector to find the messages which result from an operation either directly or via a condition.
Select Message into @R1 where result = &Operation
Select Message into @R2 where Source-Condition.Previous-Operation = &Operation
Select Message from @R1 or @R2
Use the following selector to find the hierarchical or functional organizational chart of a project.
Select Diagram Where project.(name = &Project And Employ = "B") And Nature = "Organizational Chart"