Multiple ActivityIds on an Event-based Gateway

We have a very simple workflow (attached) which we use to retrieve prioritized User Tasks. When a Task is requested by a User, a message is sent to the API, which serves as a conditional message-based event on an event-based gateway. After that a script task runs which retrieves the appropriate Task for the user and the workflow returns to waiting for another message. This process could potentially run forever, one per user.

What we are seeing is that in some cases there are more than one AcivityIds on the Event-based gateway and we do not know how that could have occurred. Any ideas?

GetNext.bpmn (8.9 KB)

Are both tokens live on the same instance?

Yes, two tokens on one instance.