Dashboard > Tempo > ... > FAQ > How to filter tasks coming from TMS > View
Tempo Log In   View a printable version of the current page.
How to filter tasks coming from TMS
Added by Nicolas Modrzyk, last edited by Nicolas Modrzyk on Sep 17, 2008

How to retrieve reporting structure.

Task Management Service expose the following method getAvailableTasks:

<xsd:element name="getAvailableTasksRequest">
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="participantToken"type="xsd:string"></xsd:element>
      <xsd:element name="taskType" type="xsd:string"></xsd:element>
      <xsd:element name="subQuery" type="xsd:string"></xsd:element>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

where

  1. participantToken:
    • is the usual SSO Tempo security Token
  2. TaskType would be one of:
    • PATask
    • PIPATask
    • Notification
  3. subQuery:
    • is a string following closely the JPQL syntax.

An example of a subQuery would be:

T._state = TaskState.READY or T._state = TaskState.CLAIMED ORDER BY t._description ASC

This will retrieve all the task that are in state READY or CLAIMED ordered by ascending description.

A few dozens queries testing can be seen in the following JUnit test case.

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 1.4.1 Build:#212 Jun 02, 2005) - Bug/feature request - Contact Administrators