Real time event in NBAD not working

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

@KiruthikaA

Hi

Did you try re-saving the NBADesigner UI again ? or trying to “flush all nodes” the data page D_MKTLoadCampaignDetails ?

This should flush the data page and re-generate any data flows that are missing.

I am wondering for some reason the dataflow it’s trying to lookup is not available in the rule stack or deleted. There is also a possiblity the PegaNBAM:Agents access group is not pointing to your top level CDH application. Please check that config too.

If all of these did not solve the problem, please raise a support request for Pega for our engineers to take a deeper look at the config.

Thanks,
Sriram

Hi @Sriram Krishnan,
Thanks for your response. I tried everything you have suggested, I even cleared and restarted all the nodes. But still it is not working. So raised SR “INC-233547”.

Hi @Sriram Krishnan,
The issue is NBA Strategy has no results for the customer passed that is why the realtime event not logged in the IH history. As real time event always picks up Outbound direction, I changed the configuration (disable outbound model maturity from NBA setting), to get the actions it started working.