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

Sample GetMyTasks Requests

Sample GetMyTasks Requests

The following sections describe some of the sample request elements for
getMyTasks
operation:
  • List all unclaimed tasks (that can be claimed/started by a potential owner)
  • List tasks that have been claimed by current principal(owner)
  • List all my (owned by principal) tasks that are in progress (started)
  • List all closed tasks owned by current principal
  • List all open tasks (ready, reserved, in progress and suspended) that are accessible by the task initiator
  • List tasks that are claimed (reserved) where the principal is a business administrator of the task
  • List all notifications
List all unclaimed tasks (that can be claimed/started by a potential owner)
<htdt:getMyTasks xmlns:htdt="http://www.example.org/WS-HT/api/xsd"> <htdt:taskType>TASKS</htdt:taskType> <htdt:genericHumanRole>POTENTIAL_OWNERS</htdt:genericHumanRole> <htdt:status>READY</htdt:status> <htdt:maxTasks>20</htdt:maxTasks> </htdt:getMyTasks>
List tasks that have been claimed by current principal (owner)
<htdt:getMyTasks xmlns:htdt="http://www.example.org/WS-HT/api/xsd"> <htdt:taskType>TASKS</htdt:taskType> <htdt:genericHumanRole>OWNER</htdt:genericHumanRole> <htdt:status>RESERVED</htdt:status> <htdt:maxTasks>20</htdt:maxTasks> </htdt:getMyTasks>
List all my (owned by principal) tasks that are in progress (started)
<htdt:getMyTasks xmlns:htdt="http://www.example.org/WS-HT/api/xsd"> <htdt:taskType>TASKS</htdt:taskType> <htdt:genericHumanRole>OWNER</htdt:genericHumanRole> <htdt:status>IN_PROGRESS</htdt:status> <htdt:maxTasks>20</htdt:maxTasks> </htdt:getMyTasks>
List all closed tasks owned by current principal
<htdt:getMyTasks xmlns:htdt="http://www.example.org/WS-HT/api/xsd"> <htdt:taskType>TASKS</htdt:taskType> <htdt:genericHumanRole>OWNER</htdt:genericHumanRole> <htdt:status>EXITED</htdt:status> <htdt:status>FAILED</htdt:status> <htdt:status>ERROR</htdt:status> <htdt:status>COMPLETED</htdt:status> <htdt:status>OBSOLETE</htdt:status> <htdt:maxTasks>20</htdt:maxTasks> </htdt:getMyTasks>
List all open tasks (ready, reserved, in progress and suspended) that are accessible by the task initiator (<htdt:genericHumanRole/> is 'INITIATOR')
<htdt:getMyTasks xmlns:htdt="http://www.example.org/WS-HT/api/xsd"> <htdt:taskType>TASKS</htdt:taskType> <htdt:genericHumanRole>INITIATOR</htdt:genericHumanRole> <htdt:status>READY</htdt:status> <htdt:status>RESERVED</htdt:status> <htdt:status>IN_PROGRESS</htdt:status> <htdt:status>SUSPENDED</htdt:status> <htdt:maxTasks>20</htdt:maxTasks> </htdt:getMyTasks>
List tasks that are claimed (reserved) where the principal is a business administrator of the task
<htdt:getMyTasks xmlns:htdt="http://www.example.org/WS-HT/api/xsd"> <htdt:taskType>TASKS</htdt:taskType> <htdt:genericHumanRole>ADMINISTRATORS</htdt:genericHumanRole> <htdt:status>RESERVED</htdt:status> <htdt:maxTasks>20</htdt:maxTasks> </htdt:getMyTasks>
List all notifications
<htdt:getMyTasks xmlns:htdt="http://www.example.org/WS-HT/api/xsd"> <htdt:taskType>NOTIFICATIONS</htdt:taskType> <htdt:genericHumanRole>NOTIFICATION_RECIPIENTS</htdt:genericHumanRole> <htdt:maxTasks>20</htdt:maxTasks> </htdt:getMyTasks>