Failed gateway

Hi,

Is there a way to go further with the process if an exception is thrown on the gateway groovy script?
When exception is thrown on a task, administrator can skip it.
But on the failed gateway there is no such option and the case stays suspended forever.

The problem emerged on Bonita Community 6.3.9.

Hi, I have the same problem on Bonita Version : 7.10.4.

How can I execute again a gateway (with a groovy script) in error ?

 

Hello
I had this issue. I raised a case with BonitaSoft support.

It seems you cannot restart a failed gateway. If there Gateway has failed, you need to abandon the case and start fresh.

Regards

I find the solution.

I could find the gateway in error and re execute it using the admin consol.

In the menu "Process management"

In the section "Tasks"

Filter on "Failed"

Here they are.

You can, using the button More..., skip or replay them.

 

 

Hi,

My question is over 6 years old so I completely forgot about it. Anyway, the answer posted by Nicolas90 is true for Bonita Enterprise Edition and not for Community. For Community Edition if you want to replay a failed gateway you need to execute the following statement directly in database:

UPDATE FLOWNODE_INSTANCE
   SET STATEID = 61,
       STATENAME = 'executing',
       STABLE = false
WHERE TENANTID = 1
AND   ID = [id of your gateway flownode];

Then restart the server so the TenantElementsRestarter would restart unfinished elements.

Of course the gateway's conditions should be fixed appropriately before this operation.