cancel
Showing results for 
Search instead for 
Did you mean: 

Problem to Get Process Instance Details in REST

sarkar92
Champ in-the-making
Champ in-the-making
I am using activiti 5.9.
I am trying to get details about a specific process instance using REST.

I tried this  "http://localhost:9090/activiti-explorer/service/process-instance/1104"

But when ever I try this url it shows

Internal Server Error

No router defined

5 REPLIES 5

jbarrez
Star Contributor
Star Contributor
You are trying to do a rest call on the activiti-explorer webapp, which is the UI only.
You need to do the rest call against the activiti-rest/ path.

(unless you overlayed the wars?)

sarkar92
Champ in-the-making
Champ in-the-making
sorry thats my fault….
But if I am trying like this
http://localhost:9090/activiti-rest/service/process-instance/2714

I am still getting

Internal Server Error

No router defined

Again I am using Activiti 5.9? Does this REST request available in 5.9?

frederikherema1
Star Contributor
Star Contributor
I don't remember from the top of my head whether that's the right URL for that activiti-version. Where did you get the URL from to call? Do you have the 5.9 user guide?

sarkar92
Champ in-the-making
Champ in-the-making
I dnt have 5.9 user guide.

sarkar92
Champ in-the-making
Champ in-the-making
Recently I got a url for 5.9 User Guide.
http://www.jee-soft.cn/htsite/html/fzyyj/jsyj/2012/08/08/1344415922506.html#N12965

For 5.9 the url must be

Request: GET /processInstance/{processInstanceId}


Thanks