Error for Event Based Gateway with Receive task

Hi,

I am using Camunda Modeler version 5.27 and encountered the following error when attaching a Receive Task to an Event-Based Gateway:

“Event-based gateway can only be connected to elements of type intermediateCatchEvent.”

Due to this, the deployment of this model is failing.

However, upon reviewing the documentation for camunda 7, this modeling approach seems correct and should be supported.

event-based-gateways

In the documentation, there is no mention indicating that this type of modeling is unsupported.

Attaching 2 intermediate timer boundary events with the receive task also doesn’t seem feasible.

Given the requirement to include two intermediate timer events and one Receive Task, could you suggest an alternative implementation to achieve this functionality?

Here is my model:
COLT_C_ContractualReturn_MF.bpmn (33.0 KB)

Hi @camunda2

It is mentioned on the following page

In addition, using an intermediate catch message as a replacement for the receive task has the same effect in your case so why not use it?

What do you mean by saying “doesn’t seem feasible”?

Since attaching a Receive Task to an Event-Based Gateway is not allowed, I attempted to achieve similar functionality by attaching two interrupting timer boundary events (T1 and T2) to the Receive Task. However, during token simulation with this setup, only the T1 timer was triggered, even when T2 was selected.

Additionally, I was concerned that using two timer boundary events might introduce ambiguity in the process. As a result, I concluded that this approach “doesn’t seem feasible” and began exploring alternative solutions.

Hi @camunda2

I believe that attaching two interrupting timer events to the receive task is equivalent to what you model using event based gateway.

1 Like

Hi @hassang ,

Thank you for your prompt responses.

As I mentioned earlier, there seemed to be an issue with the token simulator, which initially led me to switch to an approach using an Event-Based Gateway. However, after deployment, I observed that both timer events are being triggered correctly based on the configured times.

Given this, I will proceed with the design of using a Receive Task with two interrupting timer boundary events.

Thanks again for your support!

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.