PLATFORM - 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] into @root where [Assigned Participant].[Containing Diagram].[Described Element]:[Process] &process
Select [org-unit] into @sub where [Assigned Participant].[Containing Diagram].[Described Element]:[Process].[Owner Process] &process
Select [org-unit] from @root or @sub
Use the following selector to find all the org-units described in diagrams of a process:
Select [Org-Unit] WHERE [assigned participant].[Containing Diagram].[Described Element]:[Process] &Process
Use the following selector to find diagrams describing a process:
Select [Diagram] WHERE [Described Element]:[Process] &process
Use the following selector to find the processes impacted by a project:
Select [Project] WHERE [Project Deliverable].[Delivered Resource]: [Process]
Use the following query to find the operation following an operation
Select [Sequence flow] into @SF where [Predecessor]:[Operation] &ope
Select [Operation] where [Previous Sequence flow] in @SF