Get a Task
get
/process/api/v1/tasks/{id}
Get task detail by ID
Request
Path Parameters
-
id(required): string
Task ID
Query Parameters
-
totalResultsGrouped: boolean
Boolean flag to fetch total, open, closed, and overdue count of child tasks.Default Value:
false
Header Parameters
-
Accept-Language:
Accept-Language header in IETF BCP 47
-
oci-original-url:
Endpoint that the customer requested.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Nested Schema : Task-allOf[1]
Type:
Show Source
object
-
activityInstanceId: string
-
applicationName: string
-
applicationTitle: string
-
assignedDate: string
(date)
Assigned date in the format YYYY-MM-DDTHH:MM:SS[.sss]Z
-
assignee:
User
-
availableActions: object
taskActions
-
businessKey: string
-
candidateGroups: array
candidateGroups
-
candidateUsers: array
candidateUsers
-
completedDate: string
(date)
Time when the task was deleted or completed in format YYYY-MM-DDTHH:MM:SS[.sss]Z
-
createdBy:
UserOrAppClient
-
createdDate: string
(date)
The time the task was created in the format YYYY-MM-DDTHH:MM:SS[.sss]Z
-
description: string
-
dpDefinitionDescription: string
-
dpDefinitionId: string
-
dpDefinitionKey: string
-
dpDefinitionTitle: string
-
dpExecutionId: string
-
dpInstanceId: string
-
dpName: string
-
dueDate: string
(date)
Due date in the format YYYY-MM-DDTHH:MM:SS[.sss]Z
-
expirationDate: string
(date)
Expiry date in the format yyyy-MM-dd'T'HH:mm:ss.
-
externalFormUrl: string
-
finishedDate: string
(date)
Time when the task was deleted or completed in format YYYY-MM-DDTHH:MM:SS[.sss]Z
-
formURL: string
-
fromUser:
UserOrAppClient
-
id: string
-
isAdhoc: boolean
Specifies whether it is an adhoc task or not.
-
isEscalated: boolean
This will be true if the Task got Escalated.
-
isSuspended: boolean
This will be true if the process is suspended.
-
lastUpdatedDate: string
(date)
Last updated date in the format YYYY-MM-DDTHH:MM:SS[.sss]Z
-
originalAssignee:
User
-
outcome: string
-
parentTask: object
ParentTaskDetail
-
priority: integer
(int32)
Allowed Values:
[ 1, 2, 3 ]
-
processDefinitionDescription: string
-
processDefinitionId: string
-
processDefinitionKey: string
-
processDefinitionTitle: string
-
processExecutionId: string
-
processInstanceId: string
-
processName: string
-
reason: object
Reason
-
reasonText: string
Single line description of the latest life-cycle operation for this task with user provided comment if applicable.
-
rootInstanceId: string
-
rootProcessId: string
-
state: string
Allowed Values:
[ "ASSIGNED", "UNASSIGNED", "WITHDRAWN", "COMPLETED", "DELEGATED", "FAULTED" ]
-
substate: string
Allowed Values:
[ "INITIATED", "CLAIMED", "RELEASED", "INFO_REQUESTED", "INFO_SUBMITTED", "REASSIGNED", "ESCALATED", "WITHDRAWN", "WITHDRAWN_TERMINATION", "EXPIRED" ]
-
summary: string
-
tags: array
tags
-
taskDefinitionKey: string
-
title: string
-
totalResultsGrouped: object
TaskTotalResultsGrouped
Nested Schema : Link
Type:
object
Defines Link
Show Source
-
code: integer
Minimum Value:
100
Maximum Value:600
-
href(required): string
-
hreflang: string
-
length: integer
(int32)
-
mediaType: string
-
message: string
-
rel(required): string
-
title: string
-
type: string
Nested Schema : UserOrAppClient
Match All
Show Source
-
object
IdentityCommon
-
object
Discriminator: type
Discriminator:
{ "propertyName":"type" }
Nested Schema : Reason
Type:
Show Source
object
-
action: string
Allowed Values:
[ "INITIATE", "CLAIM", "RELEASE", "REASSIGN", "INFO_REQUEST", "INFO_SUBMIT", "COMPLETE", "WITHDRAW", "ESCALATE", "EXPIRED" ]
-
assignee:
User
-
candidateGroups: array
candidateGroups
-
candidateUsers: array
candidateUsers
-
comment: string
-
date: string
(date)
Date in the format yyyy-MM-dd'T'HH:mm:ssZ.
-
errorMessage: string
-
outcome: string
-
subaction: string
Allowed Values:
[ "TERMINATED", "FAULTED" ]
-
user:
User
Nested Schema : GroupAndRole
Match All
Show Source
-
object
IdentityCommon
-
object
Discriminator: type
Discriminator:
{ "propertyName":"type" }
Nested Schema : Discriminator: type
Type:
Show Source
object
-
type: string
Allowed Values:
[ "GROUP", "ROLE" ]
Nested Schema : Discriminator: type
Type:
Show Source
object
-
type: string
Allowed Values:
[ "USER", "APPCLIENT" ]
401 Response
Unauthorized
404 Response
Task not found for given ID
429 Response
Too many requests
500 Response
Internal server error
503 Response
Too many exceptions or too slow requests