Hi,
I am using APS 1.6.4.
I am trying to achieve mail alerts on penultimate and last day of task being due.
I have a boundary timer event on the task and trigger it once on penultimate day and use another timer to trigger it on the last day of the task being due.
It works fine for the scenario when the task is a single-instance type.
I have a scenario wherein, a task is part of a subprocess which is- multi-instance type parallel.
My implementation fails in this scenario. If the parallel call is for 5 times then the boundary event should be triggerred equal number of times(i.e. 5 times)- but it happens 3 or 4 times leaving one or two triggers. Logs do not show any error.
Does boundary timer trigger have any limitations on multi-instance tasks?
Appreciate any help... Thank you...
Regards.
Solved! Go to Solution.
yeah, it is better not to merge them. let each of them have its own end event. You can remove the inclusive gateway merge as well to keep the diagram simple. The process will complete only after the user task has been completed.
Ciju
do you have the boundary event on the task inside the subprocess or on the subprocess itself? It should work if the boundary event on the task. Can you share a bpmn model with this issue?
Ciju
Hi Ciju,
Thank you for replying-
I have attached the subprocess along with the subprocess diagram- I set the penultimate day and ultimate day as a String of format ISO 8601(works for single instance calls).
I think as per your comments it should work for multi-instance calls too- Let me re-test it.
Meanwhile- Please do have a look at the subprocess timers and let me know if technically it looks good.
If you need some additional info then please do let me know... Good day...
Regards.
Not sure if I understood your sub-process. Why are you merging all three paths into the gateway considering the fact that the timers are non-interrupting (cancelActivity="false")?
Hi Ciju,
Apologies for a delayed response...
I was merging the paths into a gateway since I was triggering one of the service tasks a day before due and the other service task post due date and completing the task via API- hence I assumed all the tasks would be complete post due date and they could merge.
Should I remove the merge node and use end nodes instead?
I would proceed as per your suggestion... Thank you...
Regards.
yeah, it is better not to merge them. let each of them have its own end event. You can remove the inclusive gateway merge as well to keep the diagram simple. The process will complete only after the user task has been completed.
Ciju
Thank you Ciju... will implement the changes you mentioned....
Good day...
Regards.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.