Table of Contents

Search

  1. Preface
  2. Overview, Downloading, and Installing
  3. Administration API
  4. Identity Service API
  5. Screenflow Programming and SDK
  6. ActiveVOS WSHT API
  7. Embedding Request Forms in Standalone Web Pages
  8. XML-JSON for Process Central

7. APIs, SDKs, and Services

7. APIs, SDKs, and Services

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