# "start event registry event" can't trigger next task in Version 6.6

**URL:** <https://forum.flowable.org/t/start-event-registry-event-cant-trigger-next-task-in-version-6-6/8268>\
**Category:** Flowable Engine\
**Created:** [August 18, 2021, 8:08am UTC](https://forum.flowable.org/t/start-event-registry-event-cant-trigger-next-task-in-version-6-6/8268 "2021-08-18T08:08:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zheng-cao.wang](https://avatars.discourse-cdn.com/v4/letter/z/c67d28/32.png) [@zheng-cao.wang](https://forum.flowable.org/u/zheng-cao.wang)\
**Post date:** [August 18, 2021, 8:08am UTC](https://forum.flowable.org/t/start-event-registry-event-cant-trigger-next-task-in-version-6-6/8268/1 "2021-08-18T08:08:03Z")

</div>

Hey,

I just want to set up a demo for receiving messages from JMS and then trigger a simple task to print “Hello World”.

In the beginning, I directly write a message consumer and then create a new process for each message manually.  
It seems “start event registry event” would be better in an event-driven context, so I set up the demo according to [Integrating Kafka with Flowable. Hi All. A not very long time ago, I… | by sukalpo mitra | PALOIT | Medium](https://medium.com/paloit/integrating-kafka-with-flowable-2ad7f06288d5).  
After that, I start the application and send a message to the queue, but the simple print task doesn’t work, no log from the console,  
I can see the message is already recognized by Flowable and the process starts async in handleEventSubscription#BpmnEventRegistryEventConsumer.

I know little about the theory of Flowable, can someone help to check this?

Following is the BPMN file:

```auto
<process id="testProcess" name="test process" isExecutable="true">
    <startEvent id="startE" name="start event">
      <extensionElements>
        <flowable:eventType xmlns:flowable="http://flowable.org/bpmn"><![CDATA[testEventKey]]></flowable:eventType>
        <flowable:eventName xmlns:flowable="http://flowable.org/bpmn"><![CDATA[test event key]]></flowable:eventName>
        <flowable:eventOutParameter xmlns:flowable="http://flowable.org/bpmn" source="id" sourceType="string" target="docId"></flowable:eventOutParameter>
        <flowable:channelKey xmlns:flowable="http://flowable.org/bpmn"><![CDATA[testChannelKey]]></flowable:channelKey>
        <flowable:channelName xmlns:flowable="http://flowable.org/bpmn"><![CDATA[testChannel]]></flowable:channelName>
        <flowable:channelType xmlns:flowable="http://flowable.org/bpmn"><![CDATA[jms]]></flowable:channelType>
        <flowable:channelDestination xmlns:flowable="http://flowable.org/bpmn"><![CDATA[my_destination]]></flowable:channelDestination>
      </extensionElements>
    </startEvent>
    <sequenceFlow id="sid-0DF4C89C-7F66-4884-AC5A-D02723199BB2" sourceRef="startE" targetRef="sysout"></sequenceFlow>
    <serviceTask id="sysout" name="my task" flowable:class="com.test.controller.MyTask" flowable:triggerable="true"></serviceTask>
    <sequenceFlow id="sid-F4103ECC-F499-4303-9FBE-E3E85CF44F0A" sourceRef="sysout" targetRef="end"></sequenceFlow>
    <endEvent id="end" name="end"></endEvent>
  </process>

```

The event

```auto
{
    "key": "testEventKey",
    "name": "test event key",
    "payload": [
        {
            "name": "id",
            "type": "string"
        }
    ]
}

```

The channel

```auto
{
    "key": "testChannelKey",
    "category": "channel",
    "name": "test channel",
    "channelType": "inbound",
    "type": "jms",
    "destination": "my_destination",
    "deserializerType": "json",
    "channelEventKeyDetection": {
        "fixedValue": "testEventKey"
    }
}

```

springboot configuration

```auto
server:
  port: 8083

spring:
  activemq:
    in-memory: true
  datasource:
    url: jdbc:postgresql://localhost:1531/pli
    username: ${POSTGRES_DB_USERNAME}
    password: ${POSTGRES_DB_PASSWORD}
    driver-class-name: org.postgresql.Driver
    driverClassName: org.postgresql.Driver
  jpa:
    show-sql: true
    properties:
      hibernate:
        dialect: org.hibernate.dialect.PostgreSQLDialect
        hbm2ddl:
          auto: update

flowable:
  async-executor-activate: false
  eventregistry:
    enabled: true
    resource-location: "classpath*:/eventregistry/"
    enable-change-detection: true
logging:
  level:
    org.flowable: DEBUG
    #org.flowable.eventregistry: DEBUG

```

---

<div class="post-metadata">

**Author:** ![filiphr](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/filiphr/32/315_2.png) [@filiphr](https://forum.flowable.org/u/filiphr)\
**Post date:** [August 23, 2021, 2:39pm UTC](https://forum.flowable.org/t/start-event-registry-event-cant-trigger-next-task-in-version-6-6/8268/2 "2021-08-23T14:39:16Z")

</div>

Hey @zheng-cao.wang,

Are you using your own Spring Boot application? Do you have the Spring JMS dependency on your classpath? Is the Flowable `EventRegistryJmsConfiguration` enabled (you can check this in the Spring Boot auto configuration report)

Cheers,  
Filip
