The syntax of the Business Process Choreographer API queries
is similar to SQL queries. A query can include a select clause, a
where clause, an order-by clause, a skip-tuples parameter, a threshold
parameter and a time-zone parameter.
The syntax of the query depends on the object type. The following
table shows the syntax for each of the different object types.
Table 1. Query syntax for different object types| Object |
Syntax |
| Process template |
ProcessTemplateData[] queryProcessTemplates
(java.lang.String whereClause,
java.lang.String orderByClause,
java.lang.Integer threshold,
java.util.TimeZone timezone);
|
| Task template |
TaskTemplate[] queryTaskTemplates
(java.lang.String whereClause,
java.lang.String orderByClause,
java.lang.Integer threshold,
java.util.TimeZone timezone);
|
| Business-process and task-related data |
QueryResultSet query (java.lang.String selectClause,
java.lang.String whereClause,
java.lang.String orderByClause,
java.lang.Integer skipTuples
java.lang.Integer threshold,
java.util.TimeZone timezone);
|