How to retry a failed task instance in community edition
I am using the community edition of bonita. There's a way in documentation to retry a failed connector instance (https://documentation.bonitasoft.com/bonita/7.11/handle-a-failed-activity#toc2). How can I retry a failed human task again.
if a task is failed in the middle of the process flow, that will not be able to continue. The failure reason can be db server issue or something. Please suggest me a way to overcome this issue.
You can use an error boundary event that is thrown if an error occurs during a task or call activity. It stops the normal process flow and diverts the process to an exception flow. Then you can define a sub-process to correct the error and continue the process.
The error event behaviour is described in the documentation.
I hope this helps
Thank you very much. Is it possible to redirect exception flow to Step1 task
This is how i manage failed Human Tasks.
Go to -> Administrator-> BPM-> Cases-> Failed Cases-> Open the Case->Click on the Failed Human Task -> On the browser Url, See the Id that is mentioned. Each failed human Task has a failed Task Id mentioned in the Url once you open the Failed Human Activity.
Now copy the Id and save in Notepad.
Create a process with a script task.
Add the groovy script.
Now just pass the failed Id from a custom User form to the script.
Once you click on the Submit, this script will run and the Human Task will be re-tried. If the Main cause of Problem is corrected , Human task will be working again and assigned to correct user.
Thank you very much @Dibyajit.Roy. I tried your way. That's working for me.
I would like to handle the errors using boundary event also. Do you have any idea about that. I found https://community.bonitasoft.com/error-management-bos this example. but the downloading link seems to be corrupted.
Thank you very much
I am kindly waiting for your example.