ProcessMaker Query Language (PMQL) is a custom ProcessMaker language to search ProcessMaker data. Similar in ways to search query language (SQL), which is a standard language for storing, manipulating and retrieving data in databases, use PMQL to find Requests, Tasks, and ProcessMaker Collection record information.
Use PMQL in the following ways:
Requests: Perform advanced searches to find Request summaries.
Tasks: Perform advanced searches through your Tasks.
ProcessMaker Collection records: Search through the records in a ProcessMaker Collection.
ProcessMaker Scripts: Include PMQL searches in a ProcessMaker Script such that the search occurs when the Script runs.
To understand how to use PQML, understand the basic concepts how to compose a PMQL search query:
Syntax: Syntax specifies how to compare, combine, exclude, or group the "building blocks" of a PMQL search query. An example of a comparative operator is to compare if the last name of a Request participant is (or is not) "Canera".
Properties: Properties are the "building blocks" from which to compose PMQL queries regardless of which data type a PMQL query applies. Some PMQL properties are a Process name, Request or Task status, who started a Request (also known as the requester), Request participants, and dates associated with Requests, Tasks, or ProcessMaker Collection records.