Hi,
Topic context:
I am using the operate API to retrieve flow-nodes through /flownode-instances/search and getting results like this one:
{
"items": [
{
"key": 2251799813892292,
"processInstanceKey": 2251799813892290,
"startDate": "2022-10-20T08:50:45.535+0000",
"endDate": "2022-10-20T08:50:45.543+0000",
"type": "START_EVENT",
"state": "COMPLETED",
"incident": false
},
...
}
Now, when inspecting Camunda 8 SaaS Operate UI, I noticed the requested API is a different one, api/flow-node-instances which gets back responses in the following format:
{
"2251799813892290" : {
"children" : [ {
"id" : "2251799813892292",
"type" : "START_EVENT",
"state" : "COMPLETED",
"flowNodeId" : "StartEvent_1",
"startDate" : "2022-10-20T08:50:45.535+0000",
"endDate" : "2022-10-20T08:50:45.543+0000",
"treePath" : "2251799813892290/2251799813892292",
"sortValues" : [ 1666255845535, "2251799813892292" ]
}
...
]
Questions:
-
Camunda 8 SaaS Operate uses some sort of private API different from the public available ones?
-
If yes, why?
-
If yes, is there any other way to get the flow-node instances collection with their flowNodeId through a public available API?
Yes, I am trying to develop a Task List with process execution diagram viewer. =)
Regards,
Victor Franca