I know we can attach a TaskListener to send an email to the User when a User Task is started.
How to send that email again as a reminder and repeat it after some period of time?
The reminder email notification will be stopped when the User will complete the task.
So here you are suggesting to Attach a Task Listener on Approval Task (a User Task) on Create event, and that Task Listener code will send the notification email.
Next, I have added a Timer Event to be triggered after every 24 hours, Now the Service Task “Notify Users” will be attached to a Task Delegate and that will do the same thing similar to Task Listener for sending the email.
May I can refactor code to have common code for sending emails in one class and reuse that class in both “Task Listener” and “Task Delegate”.
Does it look correct?
ANy way to Trigger the repeated task (Cycle timer) from the start of the task. I guess here in my case the first timer task will be triggered only after 24 hours. It would be good if there is a way to start it from the task creation time.