Hi guys,
Basically, what we are trying to achieve is to receive notifications for failed AIF processing. So if there is an error let's say within the XML document and a corresponding entry is created in the Queue manager as status Error, then we should get an email notification.
I assumed that the actual AIF processing classes will "report back" the errors to the batch job and we will get the alert via batch job. But it looks like even when you have an entry in the Queue manager with "Error", the corresponding batch job is still "Ended".
I also tried to set up the change based alert directly on the Queue manager table for new records with specific status, but it doesn't seem to work either.
The alerts and email notifications for other tables (or other batch jobs) do work.
Any ideas?
Is it because the AIF processing classes simply catch and "mute" the errors?
_____________
Update 1:
I tried the workaround where I created an alert rule on the table System administration > Periodic > Services and AIF > Exceptions to alert about all created records. After that, I can see records in the table EventCUD related to the Exceptions table (SysExceptionTable, ID 1359), but it looks like the Alerts batch job is not picking them up. The field BatchId remains {00000000-0000-0000-0000-000000000000} for all records. It does pick up events from other changed records (like Customer for example).
Thanks a lot!