Is it possible retry a task when its state is "ABORTED"?

Hi,

I’ve got a trouble with a task, I assigned a task using an admin role but for some reason than I don’t know after the task was assigned, bonita aborted the task, when I see the history of the case, it says “Aborted by System”.

I want to know how can I enable that task (using Bonita Portal, API, or something).

I’m using Bonita 6.3.3.

Thanks in advance

Thanks for your answer,

Well, when I wrote this question I didn’t have the log, but I’ve identified the issue on my process, in an automated task an email connector failed. But the state of the task did not turn to “Failed”, it turned to “Aborted”.

I’ve tried the method ProcessAPI.retryTask(activityInstanceId) but it fails, ‘The state of the task is not “FAILED”’.

Maybe I can’t recover the case, any idea?

First things first,

do you know why the system aborted the task? If you open/reassign the task will it not just fail again?

You need to check the logs to see what happened fix this problem first and then see if it can be reenabled, or why not just restart the process rather than reactivate the failed one?

regards