06-08-2018 02:54 AM
Hi
I am using activiti(6) rest api for a project. I found startTime attributes is missing in runtime/process-instances api but its present in history/historic-process-instances. Is there any way to enable this attribute or this is the default behavior. We need startTime for our project requirement so please suggest the best way to achieve it.
06-08-2018 08:55 AM
In previous versions of Activiti it has been necessary to use the history to get this information, both at the REST and java levels. It was added to the java API in Activiti 6 but not the REST API. So you do need to use the historic-process-instances rest endpoint. Have you tried using the finished=false option so that you see the history records for the active instances? Otherwise you could consider whether the task start time might substitute in your case or extending the API.
Explore our Alfresco products with the links below. Use labels to filter content by product module.