10-31-2017 06:48 PM
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.
11-13-2017 01:29 PM
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
11-06-2017 08:44 AM
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
11-06-2017 04:30 PM
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.
11-06-2017 04:46 PM
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")?
11-13-2017 01:20 AM
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.
11-13-2017 01:29 PM
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
11-14-2017 06:32 AM
Thank you Ciju... will implement the changes you mentioned....
Good day...
Regards.
Explore our Alfresco products with the links below. Use labels to filter content by product module.