Does taskState exist in Camunda 7 REST? I see delegation state which is not equivalent for a taskState
https://docs.camunda.org/rest/camunda-bpm-platform/7.21-SNAPSHOT/#tag/Task/operation/getTask
But when I also look at Camunda 8 docs there is a task state in response.
Camunda 8 Response (see taskState)
{
“id”: “string”,
“name”: “string”,
“taskDefinitionId”: “string”,
“processName”: “string”,
“creationDate”: “string”,
“completionDate”: “string”,
“assignee”: “string”,
“taskState”: “CREATED”,
“formKey”: “string”,
“processDefinitionKey”: “string”,
“processInstanceKey”: “string”,
“tenantId”: “string”,
“dueDate”: “2023-03-29T20:08:07.171Z”,
“followUpDate”: “2023-03-29T20:08:07.171Z”,
“candidateGroups”: [“string”],
“candidateUsers”: [“string”]
}
Yana
November 16, 2023, 3:42pm
2
Hi @myarlagadda ,
I think you are looking something similar to TaskEntity#lifecycleState
which is not expose currently in the APIs (Java/REST).
If you give us more details on what you are trying to achieve, we might find other options.
Best,
Yana
created git issue for similar feature
opened 09:52PM - 18 Jan 24 UTC
type:feature
### User Story (Required on creation)
### Functional Requirements (Requir… ed before implementation)
### Technical Requirements (Required before implementation)
### Limitations of Scope
### Hints
### Links
[
](https://forum.camunda.io/t/task-state-in-camunda-7-vs-camunda-8/48746)
<!--
- https://jira.camunda.com/browse/CAM-12398
-->
### Breakdown
<!--
- [ ] #123
- [ ] Step X
-->
```[tasklist]
### Pull Requests
```
### Dev2QA handover
- [ ] Does this ticket need a QA test and the testing goals are not clear from the description? Add a [Dev2QA handover comment](https://confluence.camunda.com/display/AP/Handover+Dev+-%3E+Testing)
Yana
January 22, 2024, 9:05am
4
Hi @jyotisahu9 ,
Thank you for raising this feature.
We will had a look at the feature and continue the conversation there by sharing feedback on qualification and prioritization.
Best,
Yana