Deleting running process instance when active task has required fields

cancel
Showing results for 
Search instead for 
Did you mean: 
bhchemss
Established Member

Deleting running process instance when active task has required fields

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
gdharley
Intermediate

Re: Deleting running process instance when active task has required fields

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

bhchemss
Established Member

Re: Deleting running process instance when active task has required fields

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
Intermediate

Re: Deleting running process instance when active task has required fields

Sounds like a defect, can you provide a unit test?

Thx,

G

#bp3

bhchemss
Established Member

Re: Deleting running process instance when active task has required fields

No sorry I don't know how to do it , (I am using Alfresco process services)

gdharley
Intermediate

Re: Deleting running process instance when active task has required fields

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

Greg