Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new

Learn more

View all

Sign in to view all badges

Troubles with custom events

Level 3
Level 3


8.2 version

I'm trying to throw/receive a custom event but nothing is working for the receive to work. Below is the event information.

I create a process that throws the event. I create another process that has the event as, I have tried both Start point and Receive. It will not trap no matter what I do. How do I debug this?




Event Data Template:

<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="" elementFormDefault="qualified" xmlns="" xmlns:tns="">
    <element name="SendEmail">

    <complexType >
            <element name="EmailTo" type="string" />
            <element name="EmailFrom" type="string" />
            <element name="EmailSubject" type="string" />
            <element name="EmailCC" type="string" />
            <element name="EmailBCC" type="string" />
            <element name="EmailBody" type="string" />

5 Replies
Level 10
Level 10

I would test with the Start Point. This will ensure that it's listening for the event.

Are you using any filter on your Start Point?

Any errors in the application server log?


Level 3
Level 3

Thank you for the quick reply.

I'm getting this in the log file:

SEVERE: Notification could not be delivered to registered subscriber. Reason: Template object: STRT_ER1271876090599 not found.

What template is it referring to?

Level 3
Level 3

I found the issue.

On the Recieve side, the variables are of type xml. I was assigning the individual nodes from the source to the destination, but it would seem that the JBOSS (JAVA) needs to have Value type variables. I changed the recieve variables to strings and it is working fine.

So it would seem that complex types cannot be trapped from events, or that is it not as simple to do.

Level 10
Level 10

You can pass xml as part of you event message.


Level 1
Level 1

Hi Jasmin,

I have a custom event set up with a schema for the message as well as the main event. When I dispatch the event, the listener event I have set up does not receive the message body and I get an adobe.workflow.template.document.TemplateNodeNotFoundException: Template object ER1319221392779 not found.

The event thrower is using a schema for the message body and the event receiver also uses an INPUT variable of type xml set to the same schema.

Any idea what I'm doing wrong?