AnsweredAssumed Answered

Specifying a Event's field when using Union Processor

Question asked by nkoski_mnpower on Aug 14, 2018
Latest reply on Aug 28, 2018 by nkoski_mnpower

Hi all,

 

I am working with a geofence of points, each geofence has a category/name of ORDER_ID/METER_ID.

 

I am processing incoming events which contain ORDER_IDs which match a geofence. I want to use Union to grab all of the geometeries related to that events ORDER_ID and combine them for further processing.

 

I am trying to use Regex to grab the ORDER_ID out of the incoming event and use the events ORDER_ID to match to Fences this is my current regex:

 

${ORDER_ID}/.*

 

but it does not seem to work.

 

However if I manually enter an order id into the union processor, say 123456/.* then it behaves as desired.

 

I am wondering if I am doing something wrong here, or if Unions cannot use fields in their regular expressions? I cannot find anything one way or the other in any of the documentation.

 

If it is not possible, what might be a way to specify geofences on an event by event basis?

 

Thanks!

Outcomes