Hi,
i have created one workflow cyclic flow.
one user task is with boundary timer and timer is connected to service task and that service task output is as input to user task (i have uploaded image for this).
issue is, when boundary timer execute than another job is created for same after service task completed.
below i mentioned my timer configuration.
"timerdurationdefinition": "P1D",
"timerdatedefinition": "",
"timercycledefinition": "R10/P1D"
i have also attache database record for same
can anyone suggest any solution or it is activity bug?
or any solution to restrict new jobs ?
I guess thats normal. Every time the execution completes the service task it will create a new user task and a boundary job. You might need to add an exclusive gateway after the service task to decide whether to continue to user task or do something else.
Hi Bassam,
Thank you so much for your response ans i appreciate your answer.
one more thing that, is there any way to stop timer job to create new job in "act_ru_job" table?
As long as a new user task with a timer boundary is created it will continue to create new jobs and insert new rows in "act_ru_job" table.
How many times do you want this to run? From the "timercycledefinition" I guess you want it to run for 10 times. Why did you choose to return back to the user task after completing the service task? If you want to run it for only 10 times then add end event after the service task.
Thanks for your answer,
it is created by mistakes in QA Environment, so is there any way to stop such types of recursion if client create such types of workflow?
You can suspend the process instances RuntimeService (Activiti - Engine 5.22.0 API) and also suspend the whole process definition RepositoryService (Activiti - Engine 5.22.0 API)
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.