Queries on business-process objects in V5.0-style processes

You can use the process query interface to retrieve business-process information that is stored persistently. You use SQL-like syntax to query the following objects:

The query function is provided by the remote interface of the BusinessProcess session bean. For process templates, the query function has the following syntax:

queryProcessTemplates (java.lang.String whereClause,
                      java.lang.String orderByClause,
                      java.lang.Integer threshold,
                      java.util.TimeZone timezone);
For the other business-process objects, the query function has the following syntax:
QueryResultSet query (java.lang.String selectClause,
                      java.lang.String whereClause,
                      java.lang.String orderByClause,
                      java.lang.Integer threshold,
                      java.util.TimeZone timezone);

The query is made up of:

For example, a list of work items accessible to the caller of the function is retrieved by:

QueryResultSet result = process.query("WORK_ITEM.WIID",
                                     null, null,
                                     null, null);

The query function returns objects according to the caller's authorization. The query result set contains only those objects that the caller is authorized to see.

For more information, see the Javadoc.


Related concepts
Predefined views for queries on business process objects
Select clause
Where clause
Order-by clause
Threshold parameter
Timezone parameter
Query results
Authorization for EJB renderings



Searchable topic ID:   c6query
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/wfapi/concepts/c6query.html

Library | Support | Terms of Use | Feedback