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?
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
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.