Search code examples
jmswebmethods

WebMethods: adding EventType Definition to EventTypeStore


I’m trying to enable JMS Adapter polling notifications, so that WebMethods flows could be triggered upon arrival of JMS messages. However the notifications cannot be enabled as EventType Definitions are missing in EventTypeStore.

On the screenshot below a notification is set to enabled, but “Publish Events” cannot be turned on. Here’s the error I get:

enter image description here

What I’m trying to find out is how do I add this EventType Definition for an existing document?


Solution

  • You don't need to check 'Publish events' for that. If you want to start execution of some Process instance for received JMS, just create a Start Message Event like this:

    start event example

    After that, create new Adapter Notification and set parameters like this:

    jms parameters example

    Process Engine subscription trigger should pick this message then and create new Process Instance for it.