As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hello everyone,
I am trying to delete a running process instance but it fails everytime when the active task has required fields , is there any solution despite removing required fields from the form ?
Thank you in advance
How are you trying to remove the instance?
1. Activiti Explorer/Activiti-app
2. REST API
3. Java API.
As far as I know, the Java API allows for removal of an instance without throwing an error.
Greg
with Java API , I was wrong saying the problem was from the required fields in the active task , the problem came from the execution listener.
if I am defining an execution listener on a end event of a task , deleting the process wont work.
Sounds like a defect, can you provide a unit test?
Thx,
G
#bp3
No sorry I don't know how to do it , (I am using Alfresco process services)
Since you are running Process Services, you must have an Alfresco support agreement. I suggest you open a support ticket on this.