Predefined query tables
The predefined query tables can be queried directly using the query table API. When you access the tables using the query table API, you are offered more options for configuration than when you use the query API.
Properties
Predefined query tables have the following properties:
| Property | Description |
|---|---|
| Name | The query table name is the name of one of the predefined database views, in uppercase, for example, TASK. |
| Attributes | Attributes of predefined query tables define
the pieces of information that are available for queries. These attributes
are the names of columns, in uppercase, that are specified by the
predefined database views. The attributes are defined with a name and a type. The type is one of the following types:
|
| Authorization | Predefined query tables use either instance-based
or role-based authorization.
|
Predefined query tables with instance data
- Can be used as the primary query of a composite query table.
- Use instance-based authorization if queried directly. This is accomplished with a join (SQL-) with the view that stores authorization information, that is, the predefined WORK_ITEM view or query table.
- Contain instance data, for example data of task instances or process instances.
| Instance data | Query table name |
|---|---|
| Information about activities of a process instance. | ACTIVITY
ACTIVITY_ATTRIBUTE ACTIVITY_SERVICE |
| Information about escalations belonging to human tasks. | ESCALATION
ESCALATION_CPROP ESCALATION_DESC |
| Information about process instances. | PROCESS_ATTRIBUTE
PROCESS_INSTANCE QUERY_PROPERTY |
| Information about human tasks. | TASK
TASK_CPROP TASK_DESC |
| Information about work baskets | WORK_BASKET
WORK_BASKET_LDESC |
| Information about business categories | BUSINESS_CATEGORY
BUSINESS_CATEGORY_LDESC |
The WORK_ITEM query table also contains instance data, but this is not available as the primary query table or an attached query table. Work item information is available implicitly when querying query tables that use instance-based authorization. That is, attributes of the WORK_ITEM query table can be used when querying a query table with instance-based authorization, even though the attributes are not explicitly specified by the query table.
Predefined query tables with template data
Predefined query tables with template data require role-based authorization. They can be queried only by administrators using the AdminAuthorizationOptions object.
- Can be used as the primary query table of a composite query table.
- Use role-based authorization if queried directly. This means that the caller using the API query method must be in the BPESystemAdministrator Java EE role if the Business Flow Manager EJB is used, or the TaskSystemAdministrator Java EE role if the Human Task Manager EJB is used, and AdminAuthorizationOptions must be used.
- Contain template data, for example, the template data of task templates or process templates.
| Template data | Query table name |
|---|---|
| Information about application components. | APPLICATION_COMP |
| Information about escalation templates. | ESC_TEMPL
ESC_TEMPL_CPROP ESC_TEMPL_DESC |
| Information about process templates. | PROCESS_TEMPLATE
PROCESS_TEMPL_ATTR |
| Information about task templates. | TASK_TEMPL
TASK_TEMPL_CPROP TASK_TEMPL_DESC |
| Version information about process templates and task templates | PC_VERSION_TEMPLATE
|
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-03-13 12:15