cancel
Showing results for 
Search instead for 
Did you mean: 

Delete a user / candidateUsers

forschungsstude
Champ in-the-making
Champ in-the-making
Hello,

I use Activiti 5.19.0.2, Apache Maven 3.3.3, Apache Tomcat 8.0.32 and jdk 1.8.0_45-b15.

I create, deploy and start a process and than I delete a user (candidateUsers).
The task, which should be done from the deleted user, is lost and the process is waiting and cann't catch the end event.
Where can I configure it that taks from deleted user or groups are not waiting, when they are deleted?

Thanx.

Regards,
Sabine
4 REPLIES 4

hari
Star Contributor
Star Contributor
Hi Sabine,

You should write the logic by yourself as to what should happen when you delete a user.

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Sabine,

create jUnit test please.
https://forums.activiti.org/content/sticky-how-write-unit-test

Regards
Martin

forschungsstude
Champ in-the-making
Champ in-the-making
Hello Martin,

I created the jUnit test. Everything is alright.
But after the deployment I delete a user to show what happens and the process is still waiting.

Regards,
Sabine

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Sabine,

administrator should be always able to assign task to somebody else.

Regards
Martin