Get SequenceFlows from REST API

Is it possible to get SequenceFlow data from the REST API? If yes, how? If no, why not and is there a way around it? I want to be able to trace back through the previously executed tasks up until the current task.

The best you are going to get from the REST api is the XML for the process definition:

https://docs.camunda.org/manual/7.7/reference/rest/process-definition/get-xml/

I usually sister the api when I went to extract information about the process structure. That way you have access to the RepositoryService and can get access to a BpmnModelInstance. This has a pretty reasonable api for navigating a process structure,

1 Like