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.
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.
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.