cancel
Showing results for 
Search instead for 
Did you mean: 

Deleting running process instance when active task has required fields

bhchemss
Star Contributor
Star Contributor

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

5 REPLIES 5

gdharley
Elite Collaborator
Elite Collaborator

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.

gdharley
Elite Collaborator
Elite Collaborator

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)

gdharley
Elite Collaborator
Elite Collaborator

Since you are running Process Services, you must have an Alfresco support agreement. I suggest you open a support ticket on this.

Greg