cancel
Showing results for 
Search instead for 
Did you mean: 

Identity links for historical tasks

magnus_nils_hel
Champ in-the-making
Champ in-the-making

Hi, i'am trying to fetch identity links for historical tasks but I get an HTTP 404 even though there is a historical task for the id I am asking for. 

GET history/historic-task-instance/{taskId}/identitylinks

Am I using the api in the wrong way or is this a configuration issue or some other problem?

Is there any other way to retrieve group and candidate information for historical tasks?

3 REPLIES 3

thuynh
Star Contributor
Star Contributor

Hi  ,

Are you referring to Activiti community edition or enterprise edition?

Could you see the task in ACT_HI_TASKINST table in the database? 

Thanks,

Thong

thuynh
Star Contributor
Star Contributor

Hi Magnus Hellström ,

If you are using the Enterprise version, you can use the following REST call

http://localhost:8080/activiti-app/api/history/historic-task-instances/{taskid}/identitylinks 

Or if you are using the Community Edition, version 5, you can use

http://localhost:8081/activiti-rest/service/history/historic-task-instances/{taskid}/identitylinks 

Hope this helps,

Thanks,

Thong Huynh

Hi Thong,

I am using the community edition.

In fact, it seems that the Activiti documentation is wrong. According to the doc which states:

/historic-task-instance/

but, as your provided link, it should be /historic-task-instances/ instead

Thanks