You are viewing limited content. For full access, please sign in.

Question

Question

Timer event duplicating tasks

asked on December 22, 2015

I have a process, attached as an image to this post,  in which intermediate timer events are used to remind users if tasks are not completed within X number of days.

Block T1 works fine, it reassigns the form to a user and thus triggers email notification about a new task being ready for them to complete.

 

Block T2 has two intermediate timers attached, one which expires after 1 days and the other after 4 days, and on expiration they send email reminders to the sys admin and manager respectively. The problem here is that, after the timer expires the emails are sent out fine, but the tasks are duplicated, so the user sees multiple copies of the same task in their inbox.

 

What am I doing wrong here?

download.png
download.png (31.13 KB)
2 0

Replies

replied on December 22, 2015

Hi Nirmal, 

Double-click on the "T2" timer events and make sure that "Interrupt the attached activity" is checked. That will cancel the activity and create a new one.

However, if you just want to send an email after one day and leave the task uninterrupted, you can delete the Sequence Flow from "Notify manager" to "T2" (same goes for "Remind sys admin"). In that case, make sure that "Interrupt the attached activity" is unchecked.

Let me know if this works for you!

2 0
replied on December 23, 2015

Hello Alexander,

I did have the 'Interrupt...' option checked. I'll modify the sequence flow as you suggested and see if it works.

 

Thanks

0 0
replied on December 23, 2015

With the modified sequence flow:

1. On clicking 'Validate' button in forms, I get the following error messages: 

  • The Service Task named "Notify manager" is not connected to an end event or other objects in the "Main Process."
  • The Service Task named "Remind sys admin" is not connected to an end event or other objects in the "Main Process."

2. I ignored this message and run the process, but it gets terminated as soon as it reaches T2, after completing the preceding tasks properly

0 0
replied on December 23, 2015

The current sequence is now the same as the one shown in the screenshot attached to the original post. The tasks are no longer being duplicated.

 

But I would like to implement this without the sequence flow from the the 'notify/reminder' blocks back to 'T2'. Because that leads to a lot of email notification to the users assigned to task 'T2'

0 0
replied on December 23, 2015

Hi there,

Why you need both route back to the user task.

If both boundary event only serve the notification purpose, you can just use noninterrupt, and use the end event after each notification service task.

1 0
replied on December 23, 2015 Show version history

Sorry, I forgot to mention my use case, I want the reminder emails to be sent every X days until the task T2 is completed by the user. Won't using an end task complete and end the whole process? 

0 0
replied on December 23, 2015

Hi Nirmal,

The end events terminate only the branch they are connected to. If you do not check "Interrupt...", then the primary branch will continue.

1 0
replied on December 23, 2015 Show version history

Alexander,

 

Wouldn't that mean that the emails in the reminder block will be sent out only once? Whereas, I want it to be sent every X days, as long as the task in T2 is not complete, that was my idea behind looping the reminder blocks back to T2.

1 0
replied on December 23, 2015

Hi there,

I see what you try to achieve. Thanks for providing the user story. I'll bring this use case back to the product team.

2 0
replied on January 19, 2016

Thanks, Abby

0 0
replied on August 25, 2016

I'm looking to do the same thing. Do you know if this was ever implemented? In our case, I want to remind users to complete a training evaluation form every X number of days until they do so.

0 0
replied on February 18, 2022

The task reminder feature has been supported since Forms 10.4.5(https://support.laserfiche.com/kb/1014202/list-of-changes-for-laserfiche-forms-10-4-5).

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.