cancel
Showing results for 
Search instead for 
Did you mean: 

Delete or Cancel Workflow Instance

montvalealf
Champ in-the-making
Champ in-the-making
Hi

I am trying to cancel Activiti workflow. I tried to call below service without forced argument. This results in deletion of workflow history from Alfresco database tables like ACT_HI_ACTINST,ACT_HI_PROCINST,ACT_HI_TASKINST

DELETE /alfresco/service/api/workflow-instances/{workflow_instance_id}?forced={forced?}
To cancel call with no arguments, to delete set the forced argument to true.

Is there a service by which we can stop the activiti workflow without loosing the data from activity history tables.


Thanks !
1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator
Hello,

as far as I know, the Alfresco workflow service only knows cancel/delete (with removal of history) or end as defined in the process. So, unless you implement a proper business end / cancel in your process, there is no way to do what you want and still retain history information.

Regards
Axel