Identity links for historical tasks

cancel
Showing results for 
Search instead for 
Did you mean: 
magnus_nils_hel
Member II

Identity links for historical tasks

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
thuynh
Established Member II

Re: Identity links for historical tasks

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
Established Member II

Re: Identity links for historical tasks

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

magnus_nils_hel
Member II

Re: Identity links for historical tasks

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