Configuration:
In NBAD I configured a Realtime event associated with a geofence. Invoked Geofence using https:///prweb/PRHTTPService/PegaMKTGeolocation/Services/HandleMktGeolocations?CustomerID=Kiruthika&DeviceID=1009p&DeviceLatitude=11.030000&DeviceLongitude=77.039000.
Analysis:
I traced the service it is invoking Realtime event (Agent), in realtime event agent activity it is trying to find out the associated campaign which is not found, so it is not executing.
Debugging:
To make it more simple for debugging I created a activity to invoke “HandleMktEvents” by passing the subject id and realtime container event name, traced that activity run manually and found below details.
Tracer technical details:
In HandleMKTEvents → “InitiateProgramsForEvent” is called → Event is passed to “ProcessEventRun”(Queue-For-Agent) → from queue it is passed to “ProcessEventRun” activity → ExecuteEventRun is invoked → Here D_MKTLoadCampaignDetails[ProgramInsKey:Param.ProgramInsKey].EnableEvents is used as when condition. D_MKTLoadCampaignDetails for my NBA config pzInskey is null so it is failing.
Does anyone tried real time event from NBAD? Any pointer would be helpful.
CDH version: 8.7