Hello friendly camunda community,
Is there a way to get a list of the nodes in a process by instance ID in chronological order (combined view of history and not yet visited)?
I’m currently using the REST API (more specifically GET /history/activity-instance
) to retrieve a list of already visited nodes but the order is a bit counter intuitive (it makes sense if you know how the engine is implemented but, from an outside perspective, you would expect the nodes to be returned in the order they appear in the process definition).
In addition, the available sorting parameters (sortBy
and sortOrder
) seem to be pretty much tied to the internal implementation which again leads to a counter intuitive result (e.g. order by end date leads to the end event being returned before the last activity in the process).
Looking forward to your replies!
Best,
Nils