cancel
Showing results for 
Search instead for 
Did you mean: 

Outgoing flows using Activiti-Rest API

himanshudewan
Champ in-the-making
Champ in-the-making
Hi

I wanted to know if it was possible to obtain a list of outgoing/possible flows from a BPMN element, say a User Task or a Gateway using the Activiti-Rest API? While one can do this programmatically, as pointed out by Trademark in this answer http://forums.activiti.org/comment/25870#comment-25870, I could not figure out a way to do this using REST API calls. Any helpful sources and links would be appreciated.

Warm regards

Himanshu
3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
Not, the bpmnmodel is not exposed through the rest api currently. If you need it now, you would have to write the rest logic yourself, calling the java api

himanshudewan
Champ in-the-making
Champ in-the-making
Oh..alright! Thanks for the clarification Joram. I was thinking maybe I should just enclose this logic as a Java Service Taks and add it wherever I need to find the outgoing flows and those store its output in some data object perhaps.

jbarrez
Star Contributor
Star Contributor
That's another option, if you need it.