List Tasks

get

/process/api/v1/tasks

List tasks for the urrent user

Request

Query Parameters
  • Fetch tasks for assigneesIn. Applicable to only PERSONA and MEMBER assignment filter.
  • Assignment Filter - | MY - My directly assigned tasks, | GROUP - My group assigned tasks, | MY_AND_GROUP - My and group tasks. Does not fetch tasks that are acquired by other users in the groups you belong to, | MY_AND_GROUP_ALL - Includes tasks that are acquired by other users in the groups you belong to, | CREATOR - Fetch tasks where logged-in user is creator of this task, | PERSONA - Fetch tasks where logged-in user has access to this task due to application permissions, | MEMBER - Fetch tasks where logged-in user is member of instances or adhoc tasks, | Default is MY.
    Default Value: MY
    Allowed Values: [ "MY", "GROUP", "MY_AND_GROUP", "MY_AND_GROUP_ALL", "CREATOR", "PERSONA", "MEMBER" ]
  • BusinessKey of the Process or DP instance
  • BusinessKeyLike of the Process or DP instance
  • Fetch tasks having candidateRolesIn. Applicable to only PERSONA and MEMBER assignment filter.
  • Fetch tasks having candidateUsersIn. Applicable to only PERSONA and MEMBER assignment filter.
  • Task category - a logical classification of tasks or task flows
  • Fetch tasks initiated by creatorsIn. Applicable to only PERSONA and MEMBER assignment filter.
  • Restrict to tasks that belong to a given dp definitionId.
  • Restrict to tasks that belong to case instances with the given ID.
  • Restrict to tasks that belong to a case definition with the given name.
  • Restrict to tasks that are due on the given date. format: YYYY-MM-DD Or YYYY-MM-DDTHH:MM:SS[.sss]Z We use YYYY-MM-DD date part to match against task due date.
  • Restrict to tasks that are due after the given date. format: YYYY-MM-DDTHH:MM:SS[.sss]Z
  • Restrict to tasks that are due before the given date. format: YYYY-MM-DDTHH:MM:SS[.sss]Z
  • Restrict to tasks that were started after the given expiry date. format: YYYY-MM-DDTHH:MM:SS[.sss]Z
  • Restrict to tasks that were started before the given expiry date. format: YYYY-MM-DDTHH:MM:SS[.sss]Z
  • If true, then parent task details like title and summary is fetched.
    Default Value: false
  • Keyword search against task title, task description, taskId, processInstanceId, dpInstanceId.
  • Maximum Value: 50
    The number of items to return. If parameter is omitted default value 25 is set. If limit <=0 or limit> 50 then up to 50 records are returned
    Default Value: 25
  • The label of member. Use with MEMBER assignment filter.
    Example:
    Get tasks where I am Owner (assignment=MEMBER&memberLabel=Owner) OR get tasks for which label is Owner and also jstein is a member(assignment=MEMBER&memberLabel=Owner&withMemberIdentityId=<jstein-id>)
  • Permission level of the member (INSPECT, READ, USE or MANAGE). Use with MEMBER assignment filter.
  • 0 based index. The number of items to skip before starting to collect the result set.
    Default Value: 0
  • This query parameter specifies the orderBy clause. Supported sortBy fieldName should be any of: title,priority,dueDate,createdDate,completedDate The value must follow the format fieldName[:(asc/desc)]. e.g. priority:asc. Multiple ordering is not supported. Default sortOrder is asc if not specified. Default orderBy is createdDate:desc
  • Fetch tasks that match the parent taskIdIn.
  • priority
  • Restrict to tasks that belong to a given process definitionId.
  • Restrict to tasks that belong to process instances with the given ID.
  • Restrict to tasks that belong to a process definition with the given name.
  • Restrict query to all process instances whose root process instance id is the given process/dp instance.
  • Restrict to tasks that were started after the given date. format: YYYY-MM-DDTHH:MM:SS[.sss]Z
  • Task State - ASSIGNED, UNASSIGNED, DELEGATED, WITHDRAWN, COMPLETED. Default state is as follows: 1) ASSIGNED for MY assignment filter 2) UNASSIGNED for GROUP assignment filter 3) All states for CREATOR, PERSONA and MEMBER assignment filter
    Allowed Values: [ "ASSIGNED", "UNASSIGNED", "DELEGATED", "WITHDRAWN", "COMPLETED" ]
  • Sub-state of state. Currently, Expired subState is supported.
    Allowed Values: [ "EXPIRED" ]
  • The task summary.
  • The task summary like.
  • The task title.
  • The task title like.
  • If true return total count of records for given query with filters
    Default Value: false
  • Restrict to tasks that were started before the given date. format: YYYY-MM-DDTHH:MM:SS[.sss]Z
  • Member's identityId. Use with MEMBER assignment filter.
    Example:
    Get tasks where I am a member along with jstein-id (assignment=MEMBER&withMemberIdentityId=<jstein-id>)
Header Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : TaskCollection
Match All
Show Source
Nested Schema : CommonModel
Type: object
Show Source
Nested Schema : TaskCollection-allOf[1]
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : Task
Match All
Show Source
Nested Schema : Task-allOf[1]
Type: object
Show Source
Nested Schema : User
Match All
Show Source
Nested Schema : taskActions
Type: object
Show Source
Nested Schema : candidateGroups
Type: array
Show Source
Nested Schema : candidateUsers
Type: array
Show Source
Nested Schema : UserOrAppClient
Match All
Show Source
Nested Schema : ParentTaskDetail
Type: object
Show Source
Nested Schema : Reason
Type: object
Show Source
Nested Schema : tags
Type: array
Show Source
Nested Schema : TaskTotalResultsGrouped
Type: object
Show Source
Nested Schema : IdentityCommon
Type: object
Show Source
Nested Schema : custom
Type: array
Show Source
Nested Schema : system
Type: array
Show Source
Nested Schema : taskAction
Type: object
Show Source
Nested Schema : GroupAndRole
Match All
Show Source
Nested Schema : Discriminator: type
Type: object
Show Source
Nested Schema : Discriminator: type
Type: object
Show Source
Nested Schema : candidateGroups
Type: array
Show Source
Nested Schema : candidateUsers
Type: array
Show Source

400 Response

Returned if some of the query parameters are invalid

401 Response

Unauthorized

404 Response

Tasks not found

429 Response

Too many requests

500 Response

Internal server error

503 Response

Too many exceptions or too slow requests
Back to Top