APIs, SDKs, and Services > Process Server WSHT API Overview > Getting Task Lists as an RSS or ATOM Feed
  

Getting Task Lists as an RSS or ATOM Feed

The list of tasks can be accessed as a RSS or ATOM feed using the REST based service located at http://host:port/active-bpel/services/REST/AeB4PTaskFeed. This endpoint also requires the principal username and password.
The AeB4PTaskFeed service implements the WSHT getMyTasks() operation. The request parameters should passed as part of the HTTP GET request query string:
Parameter Name
Value(s)
Description
format
rss or atom
Optional. The response feed format. Default value is atom.
role
  • - user
  • - administrator
  • - initiator
  • - stakeholder
Optional. List tasks on behalf of a task role. The default value is user (which is equivalent to potential owners and actual owner).
filter
  • - open
  • - unclaimed
  • - reserved
  • - reserved_started
  • - started
  • - suspended
  • - closed
  • - completed
  • - failed
  • - exited
  • - error
  • - obsolete
Optional. The default value is open, which mean list all open tasks (that is, tasks with status = READY, RESERVED, IN_PROGRESS or SUSPENDED).
maxTasks
integer
Optional. Number of tasks to return in the feed. The default value is 20.
taskIndexOffset
non negative integer
Optional. Index offset used for pagination. The default value is 0.
searchBy
percent encoded string
Optional search by string value.
Example 1
Lists all open tasks that are accessible to the user. Returns the ATOM response
http://localhost:8080/active-bpel/services/REST/AeB4PTaskFeed
Example 2
As above, but returns the RSS response. Note the format=rss query string value in the request.
http://localhost:8080/active-bpel/services/REST/AeB4PTaskFeed?format=rss
Example 3
Lists tasks that the user is currently working on (IN_PROGRESS). Returns its response as a RSS feed. Note the filter=started value in the query string.
http://localhost:8080/active-bpel/services/REST/AeB4PTaskFeed?filter=started&format=rss