cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot access task by Id using a Rest-request

srón
Champ in-the-making
Champ in-the-making
I am a user of activiti 5. 16. 4, and upon creating a task, I opened the administration tab in the console, where I could see a task with the following data:

ID_ 1643, NAME_ 4 DESCRIPTION_ 2 OWNER_ Kermit ASSIGNEE_ Kermit CREATE-TIME_ 2014-11-13 12:27:52.489 SUSPENSION_STATE_ 1

Evidently, this task is there, but when I try to address it using the Rest-API, I get a 404 error-message as response body:


{
    "message": "Not found",
    "exception": "Could not find a task with id '1643'."
}

I entered GET http://serverSmiley Tongueort/activiti-rest/service/runtime/tasks/1643  


So what did I get wrong?

2 REPLIES 2

alper
Champ in-the-making
Champ in-the-making
Did you find the answer? I am trying to accomplish the same, but have no understanding how to do that

jbarrez
Star Contributor
Star Contributor
The rest api runs on a different database than explorer. By default they don't see each other.