We are pleased to announce the next alpha release of Camunda Automation Runtime 7.22. This release features the following improvements:
- Task API is extended with
taskState
field - New supported environments
- 6 Bug Fixes
You can Download Camunda for free or Run it with Docker.
For a complete list of all improvements, take a look at the release notes. Please also see the list of known issues.
If you want to dig in deeper, you can find the source code on GitHub.
Task API is extended with taskState
field
With this alpha, you can now easily track the task’s state (Created
, Updated
, Completed
, etc.) with our Java and REST API. For both runtime and historic tasks. Just check the taskState
field accordingly in
Java API examples
var task = taskService.createTaskQuery()
.taskId(task.getId())
.singleResult();
String taskState = task.getTaskState();
var historyTask = historyService
.createHistoricTaskInstanceQuery()
.taskId(task.getId())
.singleResult();
String historyTaskState = historyTask.getTaskState();
Check for more information the javadoc: javadoc ref.1, javadoc ref.2.
REST API examples
GET {rest-url}/task/{anId}
response:
{
"id": "anId",
"processDefinitionId": "aProcDefId",
"processInstanceId": "aProcInstId",
…
"taskState": "Updated"
}
GET {rest-url}/history/task
response:
[
{
"id": "anId",
"processDefinitionId": "aProcDefId",
"processInstanceId": "aProcInstId",
…
"taskState": "Updated"
}
]
Check for more information the REST API specification: REST API ref.1 , REST API ref.2.
Big thanks to jyotisahu9 for raising this feature request and providing the contribution to it!
New supported environments
With this alpha release we added support for the following environments:
- JBoss EAP 8.0
Here you can check the complete list of supported environments: link.
Share Your Thoughts with Us!
Your feedback is really important to us, so please download Camunda Automation Platform 7.22.0-alpha3, try it out, and let us know what you think about it.
You can contact us in the forum, send a tweet to @Camunda, or file a bug in our issue tracker.