cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti and SLA

agrawalanish
Champ in-the-making
Champ in-the-making

Hi,

Is it possible to trigger escalation from activiti process flow if a particular activity or task didn't complete on time?

Please let me know how to achieve this.

Regards,
Anish Agrawal
8 REPLIES 8

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

Try to use timer boundary event
http://www.activiti.org/userguide/#bpmnTimerBoundaryEvent

Regards
Martin

Does this mean that the current user task (i.e the First line Support, the example in user guide) will get automatically terminated after the timer fires?

jbarrez
Star Contributor
Star Contributor
You can choose: use the 'cancelActivity' property to either terminate or not terminate whatever is living inside the boundaries

agrawalanish
Champ in-the-making
Champ in-the-making
Thanks Joram.

Please help me out on below queries -
1. As per user guide, it is possible to define a boundary event on a multi-instance boundary. In case of an interrupting boundary event, when the event is caught, all instances that are still active will be destroyed.
[Anish] I have a sub process as multi instance activity. Multiple tasks are created for users based on Role. The first approval/rejection, 
           completes this multi-instance activity. How to define boundary event in this scenario?

           All instances that are still active will be destroyed - is there a way that the active intances still remain active when the boundary
           event is caught? So that either the "user from the group to which it is escalated" or the "escalatees" can complete the task.

agrawalanish
Champ in-the-making
Champ in-the-making
Please help me out on last query. Its urgent.

agrawalanish
Champ in-the-making
Champ in-the-making
please help me out on last query.

frederikherema1
Star Contributor
Star Contributor
Wrap an additional subprocess in the multi-instance subprocess en place the boundary-event on the inner subprocess. When the boundary-event fires, only the inner subprocess will be "cancelled" and escalated, leaving all other outer-subprocess instances alive.

BTW, stating that a post is urgent won't get it answered more quick…

agrawalanish
Champ in-the-making
Champ in-the-making
Hi Frederik,

I have attached the bpm process file.

Tasks will be created for users as part of 'Doc Verification Sub process'. There is specified duration and if user doesn't complete the task within the timeline then email will be send to 'escalation group' and another sub process will be triggered which will create tasks for user(s) belonging to escalation group.

Requirement is that "Post escalation both the escalation group and doc verifer can verify."

Please let me know how to retain tasks created as part of 'Doc Verification Sub Process' too. Also post escaltion either a user belonging to esclation group or doc verifier group can verify the process and on first verification both sub processes should end.


Thanks,
Anish