Event Action Error: "Element denoted by path [$EVENT_RECORD$] not found" | IFS Community
Question

Event Action Error: "Element denoted by path [$EVENT_RECORD$] not found"


Userlevel 5
Badge +10
  • Hero (Customer)
  • 112 replies

Hi all,

I am seeing an error message when using an Event Action to generate an Application Message output in IFS 10.

When I try to carry out the action that triggers the event (i.e. changing the status of a Shop Order), I get the error shown below (“Element denoted by path [$EVENT_RECORD$] not found”). If I disable the Event Action, I can change the Shop Order successfully. Any ideas?

The Event process is set up as follows:

1. Create an Event with ID SHOP_ORDER_STATUS_CHANGE:

r-ZHWbpHbT51hcURry4OVuIcmdue72wDTlk2hI853DcNR6N7XlFfluJK2xKg7c6sZU0qQx1pgIrw5oOkpj7V-d4bwmORVZoF8Ir0MIlc00ebbDziI2mP4gkSaS91AjOCKnhzro9r

2. Create Event Action of type Application Message:

1LS-yPfjWjIgWYMugYiySg1pDcPASyJ2uyPl5JU9I4XFuvQ8_tnhf9s_U7O3H716i4QuKhPhF6wRnMxPZ5h9J2xd4avWJ6chYrrTt7p3IXFCnYuMFRbqqq5I2zc-wj75Fi4bQSNe

3. Create a Routing Rule linked to SHOP_ORDER_STATUS_CHANGE:

2p8YCh-X1an2V8AYP3qhKvpePU4WKOQqhiUA5lHf8WjUdh8EWFncse6oBoPrG7Sz-K_gRvn6czneUGrPambO66JcRF1q9JQnqrkrxATea8zHr-1K9AV1oyemXywfKJ6p2mTIaXzh

Am I missing anything?

Many thanks,
Ged.


4 replies

Userlevel 6
Badge +14

Is there a reason why you left the fields of action details blank in the second screen shot (on event action)? Connector seems to me to be filled with one of the senders.

IFS Connect is not common ground for me, my idea above is pure from logic and not a working experience.

Steve

Userlevel 5
Badge +10

Hi Steve,

Two reasons.

Firstly an example on this forum of a working solution did not use any of these fields. Secondly, they are optional fields. Help states “If Connector is not specified the message will be routed by Connect” and the other fields are only required if Connector is specified.

Thanks,
Ged.

Userlevel 7

Which Update are you on @GPIE? This was an issue prior to Upd5 and was resolved by bug 145612. Might not be the same issue, but worth looking into. 

Userlevel 5
Badge +10

Thanks @anmise, we are on UPD 4 so a definite possibility!

Many thanks.

Reply