cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot find tasks by Id.

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? Or can I access only a specific category of tasks with the aforementioned Rest-request?



1 REPLY 1

jbarrez
Star Contributor
Star Contributor
Both the rst api and explorer use by default an in memory database. Since rest and explorer run in separate jvms, they are NOT shared. Point both apps to the same database and you will see the same data