Hi! I am working with Bonita Community 6.4.2.
Can I configure a warning message whenever a human task is not done during the estimated time?
I would like to warn by e-mail to the superior whenever an employee does not complete the task in the expected time, is that possible?
Thank you very much!
Hi.
You can do this by using a Timer on your task.
Drag and drop a Timer on the task that you want to expire.
Set the timer to a duration/date.
After the timer, add a Script Task with an e-mail connector to send a mail to the superior.
It will be like this :
You should note however that, the process no longer exists as it will come to an end. Which could be a problem for your process.
If you want to keep the task alive with the data variables etc. you may consider a redesign to loop back a number of times to allow the person to complete the task. With the proviso for a maximum number of times to loop back, or you could loop back and assign the task to another user…
regards
Seán
Thank you both por your answer! After sending de e-mail instead of ending the process I add a loop to the employee in order to give him the chance to do the task.
Sean when you suggest that I can design a loop back a number of times, how I can limit the number of times I want the process to take the loop?
Thank you again!!!
Kisses!
Hi Julia,
many thanks and I’ve been reading somewhere else on this so have rethought a little…
I think part of the correct answer is given by Yannick, but is also partially confusing because of the timer he used.
There is no reason you can’t have multiple timers on the Human Task that can expire,
Assume HT = 5 days duration
For example:
Human task that can expire:
add Non-Interrupting Timer (NIT1) with Send Mail to Human Task Actor (person who is doing Human Task) finishing in an appropriate End signal, NIT1 has a timer set for three days.
add Non-Interrupting Timer (NIT2) with Send Mail to Human Task Actor (person who is doing Human Task) finishing in an appropriate End signal, NIT2 has a timer set for four days. This message should have a greater urgency than NIT1.
add Non-Interrupting Timer (NIT3) with Send Mail to Human Task Actor (person who is doing Human Task) AND the supervisor finishing in an appropriate End signal, NIT3 has a timer set for five days. This message should have a greater urgency than NIT2.
and then finally a Boundary Timer to End the process because it’s not going to be done at all.
add Boundary Timer (BT1) with Send Mail to Human Task Actor (person who is doing Human Task) AND the supervisor stating Task has been cancelled due to not completing in time, and finishing in an appropriate End signal, BT1 has a timer set for six days. Yes longer than task but allowances can be given, sometimes
This is much more the preferred method as follows:
there is NO looping as I previously suggested, because the Human Task will stay there ready for completion until it is either completed or the final “TIME IS OUT” Boundary timer is executed. This will make the process much easier to develop and maintain as well.
I think you can have unlimited NITs on the process, but you should only have one Boundary timer because the first one cancels the task it is assigned to…
best regards,
and Hugs, back at ya