cancel
Showing results for 
Search instead for 
Did you mean: 

Escalation functionality in activiti

romschn
Star Collaborator
Star Collaborator
Hi,

I am working on creating an advanced workflow with Activiti.

One of my requirement is that - if a user has not completed the assigned task to him in X days, I need to send an escalation email.

I read about boundaryevent but didn't get much idea from it.

Could anyone please help me how can I achieve this.

Thanks,
1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator
Hello,

a boundary event is the correct element for a feature like this - to be more precise, a timer boundary event. When a certain amount of time has passed (the timer duration), the timer fires and can either cause an additional execution branch to form (escalation parallel with user task) or cancel the current task and proceed to a different one (escalation supercedes user task).The Activiti user guide has a pretty good documentation on it. How a subsequent email is to be sent depends on your choice of escalation style - in a parallel escalation you could choose a sequenceflow from the boundary event to an end event, and put an execution script listener on the sequence flow to actually send the mail.

Regards
Axel