Workflow stucks without error on a gateway

Hello everyone,

It is not long enough that we are using Camunda in production and we recently are experiencing an issue.

It happens that the workflow stucks on an Exclusive Gate or a Parallel gate and there is no error in Camunda for it.
We are running Camunda tomcat 15.x container image inside kubernetes.
image

It is like the picture above.

As I read here: https://camunda.com/blog/2019/10/job-executor-what-is-going-on-in-my-process-engine/
I checked the jobs table in Camunda’s database and found that the job is not being executed for the gate and when I execute it by the rest api, it goes on.

The gate on added picture has “Asynchronous Before” and “Exclusive” checks set.

Thanks in advance
Farhad

Hello there,
I have a few questions.
Can you upload the model please?
Can you also explain more about what is happening in the service task following the gateway?

Can i ask why you did this?

Hi @Niall

thanks for the quick response.

unfortunately at the moment I cannot upload this model.

I may try to reproduce it to a simpler model and upload that one.

The next task after it has such script.

var payload = {};
payload.EventName = "legi-limit-exceeded-revocation";
const personId = JSON.parse(Payload).personId;
payload.Payload = { PersonId: personId };
JSON.stringify(payload);

and will be fetched by a dotnet core service and will get completed right after the dotnet core service is done with publishing its event.

Now the issue is that, this doesn’t always happen. it only happen in some cases.

The “Asynchronous Before” was set before on parallel gates since it was throwing an exception that it could not process one of the tokens because of a database conflict. But I think then they have added the check on all gates.

Ok, as I read further, only one Exclusive job may run in each process instance?
this may cause the conflict I assume.