Hi All,
I have a requirement to delete all old closed workflow from on some routine basis using ActivitiRestClientService method.
I am unable to do it and i am not able to find any method that delete a workflow from database. there is a service that delete workflow by changing the status in DELETE_REASON_. but it does not delete the data permanently from database table (ACT_HI_PROCINST).
actually this table(ACT_HI_PROCINST) we are using to display all closed workflow in GUI. but due to it does not delete the data permanently from table is causing performance issue as it loads all workflow during load time and we have to filter it programmatically after all data loaded in resultset. and due to this we are getting performance issue.
Thanks in Advance,
Best regards,
Shashi
Have you tried the delete api ?
Thank you Joseph,
Yes, I cheked the delete api. but all the delete method of this api it only disable the workflow(it fills the column with DELETE_REASON with Deleted by user). it do not delete workflow from database.
But our requirements is completely delete the all closed work flow from Table (ACT_HI_PROCINST) which is causing performance issue.
Best regards,
Shashi
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.